Partilhar via


BaseCollection<T> Members

Include Protected Members
Include Inherited Members

BaseCollection is the base class for collections.

The BaseCollection<T> type exposes the following members.

Constructors

  Name Description
Protected method BaseCollection<T> Creates a new instance from the serialized content.

Top

Properties

  Name Description
Public property Count Gets the number of items in the collection.
Public property IsFixedSize Gets a boolean that specifies whether the size of the collection is fixed.
Public property IsReadOnly Gets a boolean that specifies whether the collection is read-only.
Public property IsSynchronized Gets a boolean that specifies whether the collection is synchronized.
Public property Item Gets or sets an element in the collection at a specific position.
Public property SyncRoot Gets an object that can be used to synchronize access to the collection.

Top

Methods

  Name Description
Public method Add Adds an element to the collection.
Public method AddRange Adds a collection to the collection.
Public method Clear Removes all the elements from the collection.
Public method Contains Checks whether an element is contained in the collection.
Public method CopyTo Copies the items of the collection to an array.
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetEnumerator Gets an enumerator over the collection.
Public method GetHashCode (inherited from Object)
Public method GetObjectData Populates a SerializationInfo object with the data needed to serialize the target object.
Public method GetType (inherited from Object)
Public method IndexOf Gets the position of an element in the collection.
Public method Insert Inserts an element at a specific position in the collection.
Protected method MemberwiseClone (inherited from Object)
Protected method OnAdded Called when an object has been added to the collection.
Protected method OnAdding Called when an object is about to be added to the collection.
Protected method OnRemoving Called when an object is about to be removed from the collection.
Public method Remove Removes an element from the collection.
Public method RemoveAt Removes the element at a specific position in the collection.
Public method ToString (inherited from Object)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an enumerator over the collection.

Top

See Also

Reference

BaseCollection<T> Class

Microsoft.Rtc.Workflow.Utilities Namespace