ModelElement::GetRoleCollection<TCollection, TElement> Method (Guid)

 

Gets or creates the linked element collection

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

protected:
generic<typename TCollection, typename TElement>
where TCollection : ReadOnlyLinkedElementCollection<TElement>
where TElement : ModelElement
TCollection GetRoleCollection(
	Guid domainRoleId
)

Parameters

domainRoleId
Type: System::Guid

The role id

Return Value

Type: TCollection

Type Parameters

TCollection

The collection type to instanciate

TElement

The type for each of the elements in the collection

Return to top
Show: