ODataPath Class
Provides an object representation for an OData path with additional information about the EDM type and entity set for the path.
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Routing.ODataPath
Namespace: System.Web.Http.OData.Routing
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
<ODataPathParameterBindingAttribute> _
Public Class ODataPath
'Usage
Dim instance As ODataPath
[ODataPathParameterBindingAttribute]
public class ODataPath
[ODataPathParameterBindingAttribute]
public ref class ODataPath
[<ODataPathParameterBindingAttribute>]
type ODataPath = class end
public class ODataPath
The ODataPath type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ODataPath(IList<ODataPathSegment>) | Initializes a new instance of the ODataPath class. | |
ODataPath(array<ODataPathSegment[]) | Initializes a new instance of the ODataPath class. |
Top
Properties
Name | Description | |
---|---|---|
EdmType | Gets or sets the EDM type of the path. | |
EntitySet | Gets or sets the entity set of the path. | |
PathTemplate | Gets the path template describing the types of segments in the path. | |
Segments | Gets the path segments for the OData path. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns the string representation of the ODataPath object. (Overrides Object.ToString().) |
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.