LinkedElementCollection<T> Methods

Include Protected Members
Include Inherited Members

The LinkedElementCollection<T> type exposes the following members.

Methods

  Name Description
Public method Add Appends a new role to the end of the collection.
Public method AddNew Add and merge in a new element to the collection
Protected method AddNewCore Common implementation of logic to add and merge in a new element to the collection
Public method AddRange Appends a range of elements to the end of the collection.
Public method AsReadOnly Gets a read-only collection of linked elements.
Public method Clear Removes all roles from the collection.
Public method Contains Gets whether a specified role player belongs to the collection. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method CopyTo Copies all role players to an array. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Exists Determines whether there is at least one element for which a given condition is true. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Find Finds the first element in the collection which matches a given condition. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method FindAll Finds all elements which satisfy a given condition. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method FindIndex Finds the first element which satisfies a given condition. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method ForEach Runs the specified action on all elements in the collection. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method GetEnumerator Gets a strongly-typed enumerator for this collection. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetItemProperties Returns a complete set of browsable properties for the item type of the collection. If real items exists in the collection, then replace the reflective ones with IMS ones where possible to allow transacted updates through them. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Gets the index of a role player inside the collection. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method Insert Inserts a role into the collection at a specified index.
Public method InsertRange Inserts a range of elements into the collection at a specific index.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Move(Int32, Int32) Moves a role to a new position inside the collection.
Public method Move(T, Int32) Moves a role to a new position inside the collection.
Public method Remove Removes the specified role from the collection.
Public method RemoveAt Removes the role at a specified index from the collection.
Public method RemoveRange Removes a range of elements from the collection.
Public method ReplaceAt Replaces a role at a specified index with a new role.
Public method Sort() Sorts the elements in the collection of element links.
Public method Sort(IComparer<T>) Sorts the elements in the collection of element links.
Public method Sort(Comparison<T>) Sorts the elements in the collection of element links.
Public method Sort(Int32, Int32, IComparer<T>) Sorts a range of elements in the collection of element links.
Public method ToArray Creates an array and copies all role players in the collection into it. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TrueForAll Checks if a given condition is true for all elements in the collection. (Inherited from ReadOnlyLinkedElementCollection<T>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add
Explicit interface implemetationPrivate method ICollection<T>.Add (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IBindingList.AddIndex Adds the specified property to the set used for indexing the collection when it is searched. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IBindingList.AddNew Creates a new element.
Explicit interface implemetationPrivate method IBindingList.ApplySort This method is not supported. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method ICollection<T>.Clear (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IList.Clear (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IList.Contains
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IBindingList.Find This method is not supported. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IEnumerable<T>.GetEnumerator (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method ITypedList.GetItemProperties Returns a complete set of browsable properties for the item type of the collection. If real items exists in the collection, then replace the reflective ones with IMS ones where possible to allow transacted updates through them. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method ITypedList.GetListName Returns the name of the list. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IList.Insert
Explicit interface implemetationPrivate method IList<T>.Insert (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IList.Remove
Explicit interface implemetationPrivate method ICollection<T>.Remove (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IList<T>.RemoveAt (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IList.RemoveAt (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IBindingList.RemoveIndex This method is not supported. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IBindingList.RemoveSort This method is not supported. (Inherited from ReadOnlyLinkedElementCollection<T>.)

Top

See Also

Reference

LinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace