ReadOnlyLinkedElementCollection<T> Class

 

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

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling::ReadOnlyLinkedElementCollection<T>
    Microsoft.VisualStudio.Modeling::LinkedElementCollection<T>

generic<typename T>
where T : ModelElement
public ref class ReadOnlyLinkedElementCollection : IList<T>, 
	ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, 
	IBindingList, ITypedList, IRaiseItemChangedEvents, INotifyCollectionChanged, 
	INotifyPropertyChanged

NameDescription
System_CAPS_pubmethodReadOnlyLinkedElementCollection<T>(ModelElement^, Guid)

Initializes a new instance of the ReadOnlyLinkedElementCollection class.

NameDescription
System_CAPS_pubpropertyCommittedCount

Gets the actual number of role players in collection (after commit)

System_CAPS_pubpropertyCount

Gets the number of role players in the collection.

System_CAPS_pubpropertyIntermediateCount

Gets the intermediate number of role players in collection(during commit).

System_CAPS_pubpropertyItem[Int32]

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

System_CAPS_pubpropertySourceDomainRole

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

System_CAPS_pubpropertySourceElement

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

System_CAPS_pubpropertyTargetDomainRole

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

NameDescription
System_CAPS_pubmethodContains(T)

Gets whether a specified role player belongs to the collection.

System_CAPS_pubmethodCopyTo(array<T>^, Int32)

Copies all role players to an array.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExists(Predicate<T>^)

Determines whether there is at least one element for which a given condition is true.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFind(Predicate<T>^)

Finds the first element in the collection which matches a given condition.

System_CAPS_pubmethodFindAll(Predicate<T>^)

Finds all elements which satisfy a given condition.

System_CAPS_pubmethodFindIndex(Predicate<T>^)

Finds the first element which satisfies a given condition.

System_CAPS_pubmethodForEach(Action<T>^)

Runs the specified action on all elements in the collection.

System_CAPS_pubmethodGetEnumerator()

Gets a strongly-typed enumerator for this collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetItemProperties(array<PropertyDescriptor^>^)

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.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(T)

Gets the index of a role player inside the collection.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToArray()

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

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTrueForAll(Predicate<T>^)

Checks if a given condition is true for all elements in the collection.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<T>::Add(T)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<T>::Clear()

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<T>::Remove(T)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable<T>::GetEnumerator()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList<T>::Insert(Int32, T)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList<T>::RemoveAt(Int32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection::CopyTo(Array^, Int32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable::GetEnumerator()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Add(Object^)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Clear()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Contains(Object^)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::IndexOf(Object^)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Insert(Int32, Object^)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Remove(Object^)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::RemoveAt(Int32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIBindingList::AddIndex(PropertyDescriptor^)

Adds the specified property to the set used for indexing the collection when it is searched.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIBindingList::AddNew()

This method is not supported because this is a read-only collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIBindingList::ApplySort(PropertyDescriptor^, ListSortDirection)

This method is not supported.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIBindingList::Find(PropertyDescriptor^, Object^)

This method is not supported.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIBindingList::RemoveIndex(PropertyDescriptor^)

This method is not supported.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIBindingList::RemoveSort()

This method is not supported.

System_CAPS_pubinterfaceSystem_CAPS_privmethodITypedList::GetItemProperties(array<PropertyDescriptor^>^)

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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodITypedList::GetListName(array<PropertyDescriptor^>^)

Returns the name of the list.

Represents a read-only collection of element instances on the opposite side of the links for a relationship in which a particular element participates.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: