ODataExpandPath Class

A specific type of ODataPath which can only contain instances of TypeSegment or NavigationPropertySegment.

Inheritance Hierarchy

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

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

Syntax

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

The ODataExpandPath type exposes the following members.

Constructors

  Name Description
Public method ODataExpandPath(ODataPathSegment[]) Create an ODataPath object based on a single segment
Public method ODataExpandPath(IEnumerable<ODataPathSegment>) Create an ODataPath object to represent a path semantically

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