Delen via


PathHasSegments.GetSegments Method

Gets a list of Segments.

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

Syntax

'Declaration
Public Shared Function GetSegments ( _
    element As DomainPath _
) As LinkedElementCollection(Of PathSegment)
public static LinkedElementCollection<PathSegment> GetSegments(
    DomainPath element
)
public:
static LinkedElementCollection<PathSegment^>^ GetSegments(
    DomainPath^ element
)
static member GetSegments : 
        element:DomainPath -> LinkedElementCollection<PathSegment> 
public static function GetSegments(
    element : DomainPath
) : LinkedElementCollection<PathSegment>

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<PathSegment>

.NET Framework Security

See Also

Reference

PathHasSegments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace