Share via


PathHasSegments.Segment Property

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Path", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.PropertyDisplayName",  _
    PropagatesDelete := True, Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("a5c9f97a-3b8d-4a94-ad90-43996eb202ca")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments/Segment.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Segment As PathSegment
'Usage
Dim instance As PathHasSegments 
Dim value As PathSegment 

value = instance.Segment

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

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment

.NET Framework Security

See Also

Reference

PathHasSegments Class

PathHasSegments Members

Microsoft.VisualStudio.Modeling.DslDefinition Namespace