共用方式為


PathSegmentReferencesRole.Role 屬性

DomainRole 角色

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

語法

'宣告
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "PathSegments",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("876bf051-4f88-42ff-b14f-9480e0edc19c")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Role As DomainRole
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "PathSegments", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("876bf051-4f88-42ff-b14f-9480e0edc19c")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public DomainRole Role { get; set; }

屬性值

型別:Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework 安全性

請參閱

參考

PathSegmentReferencesRole 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間