Version

PrimitiveCollection Class Methods

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

Public Methods
 NameDescription
Public MethodAddAdds a Primitive to this collection.  
Public MethodAddRangeAdds a range of primitives to this PrimitiveCollection.  
Public MethodClearRemoves all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public MethodCopyToOverloaded. Copies this PrimitiveCollection to an array.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public MethodIndexOfGets the index in the collection of the specified Primitive.  
Public MethodInsertInserts a Primitive into this collection at the specified index.  
Public MethodRemoveRemoves a Primitive from this collection.  
Public MethodRemoveAtRemoves the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable. (Inherited from System.Collections.CollectionBase)
Public MethodReverseReverses the order of Primitives in this PrimitiveCollection.  
Public MethodSortSorts this PrimitiveCollection using the specified IComparer.  
Public MethodToArrayOverloaded. Creates and returns an array using the Primitives in this PrimitiveCollection.  
Protected Methods
 NameDescription
Protected MethodOnClearPerforms additional custom processes when clearing the contents of the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnClearCompletePerforms additional custom processes after clearing the contents of the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertPerforms additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertCompletePerforms additional custom processes after inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnRemovePerforms additional custom processes when removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnRemoveCompletePerforms additional custom processes after removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetPerforms additional custom processes before setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetCompletePerforms additional custom processes after setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnValidatePerforms additional custom processes when validating a value. (Inherited from System.Collections.CollectionBase)
See Also