Partager via


PathHasSegments.Segment, propriété

Chemin d'accès de segment de DomainRole définissant le segment.

Espace de noms :  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntaxe

'Déclaration
<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; }

Valeur de propriété

Type : Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment

Sécurité .NET Framework

Voir aussi

Référence

PathHasSegments Classe

Microsoft.VisualStudio.Modeling.DslDefinition, espace de noms