Dynamicweb 8 Documentation
CommentCollection Class Methods


For a list of all members of this type, see CommentCollection members.

Public Methods
 NameDescription
Public MethodAddAdds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Public MethodContainsDetermines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Public MethodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Public MethodRatingAverageReturns the average of the ratings in the collection with one decimal, i.e 3.2  
Public MethodRemoveRemoves the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Top
Protected Methods
 NameDescription
Protected MethodClearItemsRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Protected MethodInsertItemInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Protected MethodRemoveItemRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Protected MethodSetItemReplaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Comment>)
Top
See Also

Reference

CommentCollection Class
Dynamicweb.Content.Commenting Namespace

Send Feedback