Udostępnij za pośrednictwem


RelationshipHasRoles.GetRoles(DomainRelationship) Method

Definition

Gets a list of Roles.

public:
 static Microsoft::VisualStudio::Modeling::ReadOnlyLinkedElementCollection<Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^> ^ GetRoles(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRelationship ^ element);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole> GetRoles (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship element);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetRoles : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship -> Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole>
Public Shared Function GetRoles (element As DomainRelationship) As ReadOnlyLinkedElementCollection(Of DomainRole)

Parameters

Returns

Attributes

Applies to