DomainRelationship.Roles Property
Gets a list of Roles. Roles of the relationship. There should be exactly two.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public ReadOnly Property Roles As ReadOnlyLinkedElementCollection(Of DomainRole)
Get
public ReadOnlyLinkedElementCollection<DomainRole> Roles { get; }
public:
property ReadOnlyLinkedElementCollection<DomainRole^>^ Roles {
ReadOnlyLinkedElementCollection<DomainRole^>^ get ();
}
member Roles : ReadOnlyLinkedElementCollection<DomainRole>
function get Roles () : ReadOnlyLinkedElementCollection<DomainRole>
Property Value
Type: Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<DomainRole>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.