Share via


ODataSelectPath Class

A specific type of ODataPath which can only contain instances of TypeSegment, NavigationPropertySegment, PropertySegment, OperationSegment, or OpenPropertySegment.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.Query.SemanticAst.ODataPath
      Microsoft.Data.OData.Query.SemanticAst.ODataSelectPath

Namespace:  Microsoft.Data.OData.Query.SemanticAst
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Class ODataSelectPath _
    Inherits ODataPath
'Usage
Dim instance As ODataSelectPath
public class ODataSelectPath : ODataPath
public ref class ODataSelectPath : public ODataPath
type ODataSelectPath =  
    class 
        inherit ODataPath 
    end
public class ODataSelectPath extends ODataPath

The ODataSelectPath type exposes the following members.

Constructors

  Name Description
Public method ODataSelectPath(ODataPathSegment[]) Create an ODataPath object based on a single segment
Public method ODataSelectPath(IEnumerable<ODataPathSegment>) Create an ODataSelectPath

Top

Properties

  Name Description
Public property Count Get the number of segments in this path. (Inherited from ODataPath.)
Public property FirstSegment Gets the first segment in the path. Returns null if the path is empty. (Inherited from ODataPath.)
Public property LastSegment Get the last segment in the path. Returns null if the path is empty. (Inherited from ODataPath.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetEnumerator Get the segments enumerator (Inherited from ODataPath.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)
Public method WalkWith(PathSegmentHandler) Walk this path using a handler (Inherited from ODataPath.)
Public method WalkWith<T>(PathSegmentTranslator<T>) Walk this path using a translator (Inherited from ODataPath.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator get the segments enumerator (Inherited from ODataPath.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.OData.Query.SemanticAst Namespace