LinkedElementCollection<T> Members

Provides a collection of all elements that are linked to an element.

The LinkedElementCollection<T> type exposes the following members.

Constructors

  Name Description
Public method LinkedElementCollection<T> Overloaded. Initializes a new instance of the LinkedElementCollection<T> class.

Top

Methods

  Name Description
Public method Add Appends a new role to the end of 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 attempt to free resources and perform other cleanup operations before the Object 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.)
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 Overloaded. 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 Overloaded. Sorts the 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

Properties

  Name Description
Public property Count Gets the number of role players in the collection. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public property Item Gets or sets the role at a specified index in a collection of linked elements.
Public property SourceDomainRole Gets the source role of the relationship that this collection represents. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public property SourceElement Gets the source role player which was inherited by this collection. (Inherited from ReadOnlyLinkedElementCollection<T>.)
Public property TargetDomainRole Gets the target role of the relationship that this collection represents. (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 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 IEnumerable<T>.GetEnumerator (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (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 property IList.IsFixedSize (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate property ICollection<T>.IsReadOnly
Explicit interface implemetationPrivate property IList.IsReadOnly
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from ReadOnlyLinkedElementCollection<T>.)
Explicit interface implemetationPrivate property IList.Item
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 property ICollection.SyncRoot (Inherited from ReadOnlyLinkedElementCollection<T>.)

Top

See Also

Reference

LinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace