ODataPath.LastSegment Property
Get the last segment in the path. Returns null if the path is empty.
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public ReadOnly Property LastSegment As ODataPathSegment
Get
'Usage
Dim instance As ODataPath
Dim value As ODataPathSegment
value = instance.LastSegment
public ODataPathSegment LastSegment { get; }
public:
property ODataPathSegment^ LastSegment {
ODataPathSegment^ get ();
}
member LastSegment : ODataPathSegment
function get LastSegment () : ODataPathSegment
Property Value
Type: Microsoft.Data.OData.Query.SemanticAst.ODataPathSegment