PathHasSegments.GetSegments Method
Gets a list of Segments.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
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
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainPath
Return Value
Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<PathSegment>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.