Version

PrimitiveCollection Class Members

The following tables list the members exposed by PrimitiveCollection.

Public Constructors
 NameDescription
Public ConstructorPrimitiveCollection Constructor  
Public Properties
 NameDescription
Public PropertyCapacityGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyCountGets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public PropertyItemGets a Primitive from this collection at the specified index.  
Protected Properties
 NameDescription
Protected PropertyInnerListGets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyListGets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
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