Udostępnij za pośrednictwem


Właściwość PathHasSegments.Segment —

Definiowanie segmentu ścieżki segmentu DomainRole.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.DslDefinition
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Składnia

'Deklaracja
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<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)> _
<DomainObjectIdAttribute("a5c9f97a-3b8d-4a94-ad90-43996eb202ca")> _
Public Property Segment As PathSegment
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[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)]
[DomainObjectIdAttribute("a5c9f97a-3b8d-4a94-ad90-43996eb202ca")]
public PathSegment Segment { get; set; }

Wartość właściwości

Typ: Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

PathHasSegments Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.DslDefinition