Share via


ReadOnlyLinkedElementCollection<T> Members

Include Protected Members
Include Inherited Members

Represents a strongly-typed read-only collection of element instances on the opposite side of a relationship.

The ReadOnlyLinkedElementCollection<T> type exposes the following members.

Constructors

 

Name

Description

Public method

ReadOnlyLinkedElementCollection<T>

Initializes a new instance of the ReadOnlyLinkedElementCollection class.

Top

Methods

 

Name

Description

Public method

Contains

Gets whether a specified role player belongs to the collection.

Public method

CopyTo

Copies all role players to an array.

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.

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.

Public method

FindAll

Finds all elements which satisfy a given condition.

Public method

FindIndex

Finds the first element which satisfies a given condition.

Public method

ForEach

Runs the specified action on all elements in the collection.

Public method

GetEnumerator

Gets a strongly-typed enumerator for this collection.

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.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToArray

Creates an array and copies all role players in the collection into it.

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.

Top

Properties

 

Name

Description

Public property

Count

Gets the number of role players in the collection.

Public property

Item

Gets or sets the role player at a specified index inside the collection.

Public property

SourceDomainRole

Gets the source role of the relationship that this collection represents.

Public property

SourceElement

Gets the source role player which was inherited by this collection.

Public property

TargetDomainRole

Gets the target role of the relationship that this collection represents.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

ICollection<T>.Add

Explicit interface implemetationPrivate method

IList.Add

Explicit interface implemetationPrivate method

ICollection<T>.Clear

Explicit interface implemetationPrivate method

IList.Clear

Explicit interface implemetationPrivate method

IList.Contains

Explicit interface implemetationPrivate method

ICollection.CopyTo

Explicit interface implemetationPrivate method

IEnumerable<T>.GetEnumerator

Explicit interface implemetationPrivate method

IEnumerable.GetEnumerator

Explicit interface implemetationPrivate method

IList.IndexOf

Explicit interface implemetationPrivate method

IList<T>.Insert

Explicit interface implemetationPrivate method

IList.Insert

Explicit interface implemetationPrivate property

IList.IsFixedSize

Explicit interface implemetationPrivate property

ICollection<T>.IsReadOnly

Explicit interface implemetationPrivate property

IList.IsReadOnly

Explicit interface implemetationPrivate property

ICollection.IsSynchronized

Explicit interface implemetationPrivate property

IList.Item

Explicit interface implemetationPrivate method

ICollection<T>.Remove

Explicit interface implemetationPrivate method

IList.Remove

Explicit interface implemetationPrivate method

IList<T>.RemoveAt

Explicit interface implemetationPrivate method

IList.RemoveAt

Explicit interface implemetationPrivate property

ICollection.SyncRoot

Top

See Also

Reference

ReadOnlyLinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace