PathHasSegments.Segment 属性
DomainRole 定义段落的段路径。
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
语法
声明
<DomainObjectIdAttribute("a5c9f97a-3b8d-4a94-ad90-43996eb202ca")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Path", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.PropertyDisplayName", _
PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, _
Multiplicity := Multiplicity.One)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Segment As PathSegment
[DomainObjectIdAttribute("a5c9f97a-3b8d-4a94-ad90-43996eb202ca")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Path", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.PropertyDisplayName",
PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy,
Multiplicity = Multiplicity.One)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public PathSegment Segment { get; set; }
属性值
类型:Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。