共用方式為


RelationshipHasSource.Role Property

Gets the element playing Source domain role. Relationship defining the role.

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

Syntax

'宣告
Public Overrides NotOverridable Property Role As DomainRole
    Get
    Set
public override sealed DomainRole Role { get; set; }
public:
virtual property DomainRole^ Role {
    DomainRole^ get () override sealed;
    void set (DomainRole^ value) override sealed;
}
abstract Role : DomainRole with get, set
override Role : DomainRole with get, set
override final function get Role () : DomainRole
override final function set Role (value : DomainRole)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework Security

See Also

Reference

RelationshipHasSource Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace