Share via


ODataPath.Segments Property

 

Gets the path segments for the OData path.

Namespace:   System.Web.Http.OData.Routing
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public ReadOnlyCollection<ODataPathSegment> Segments { get; }
public:
property ReadOnlyCollection<ODataPathSegment^>^ Segments {
    ReadOnlyCollection<ODataPathSegment^>^ get();
}
member Segments : ReadOnlyCollection<ODataPathSegment> with get
Public ReadOnly Property Segments As ReadOnlyCollection(Of ODataPathSegment)

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ODataPathSegment>

See Also

ODataPath Class
System.Web.Http.OData.Routing Namespace

Return to top