共用方式為


PathSegment.Role Property

Gets or sets Role. Role referenced by the segment.

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

Syntax

'宣告
Public Property Role As DomainRole
    Get
    Set
public DomainRole Role { get; set; }
public:
property DomainRole^ Role {
    DomainRole^ get ();
    void set (DomainRole^ value);
}
member Role : DomainRole with get, set
function get Role () : DomainRole
function set Role (value : DomainRole)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework Security

See Also

Reference

PathSegment Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace