Share via


PathHasSegments.Segment Property

DomainRole Segment Path defining the segment.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
<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; }
[DomainObjectIdAttribute(L"a5c9f97a-3b8d-4a94-ad90-43996eb202ca")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"Path", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::One)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property PathSegment^ Segment {
    PathSegment^ get ();
    void set (PathSegment^ value);
}
[<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")>]
member Segment : PathSegment with get, set
function get Segment () : PathSegment 
function set Segment (value : PathSegment)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment

.NET Framework Security

See Also

Reference

PathHasSegments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace