共用方式為


DomainRelationship.Roles Property

Definition

Gets a list of Roles. Roles of the relationship. There should be exactly two.

public:
 property Microsoft::VisualStudio::Modeling::ReadOnlyLinkedElementCollection<Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^> ^ Roles { Microsoft::VisualStudio::Modeling::ReadOnlyLinkedElementCollection<Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^> ^ get(); };
public Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole> Roles { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Roles : Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole>
Public ReadOnly Property Roles As ReadOnlyLinkedElementCollection(Of DomainRole)

Property Value

Attributes

Applies to