共用方式為


PathSegmentReferencesRole.PathSegment 屬性

區段所參考的 DomainRole PathSegment 角色。

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

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/PathSegment.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/PathSegment.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/PathSegment.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Role", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/PathSegment.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("26f8ae7b-cab2-4477-8526-cce1fb40cfa7")> _
Public Property PathSegment As PathSegment
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/PathSegment.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/PathSegment.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/PathSegment.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Role", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/PathSegment.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("26f8ae7b-cab2-4477-8526-cce1fb40cfa7")]
public PathSegment PathSegment { get; set; }

屬性值

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

.NET Framework 安全性

請參閱

參考

PathSegmentReferencesRole 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間