KeyValuePathSegment Class
An ODataPathSegment implementation representing an indexing into an entity collection by key.
Namespace: System.Web.Http.OData.Routing
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Routing.ODataPathSegment
System.Web.Http.OData.Routing.KeyValuePathSegment
Syntax
public class KeyValuePathSegment : ODataPathSegment
public ref class KeyValuePathSegment : ODataPathSegment
type KeyValuePathSegment =
class
inherit ODataPathSegment
end
Public Class KeyValuePathSegment
Inherits ODataPathSegment
Constructors
Name | Description | |
---|---|---|
KeyValuePathSegment(String) | Initializes a new instance of the KeyValuePathSegment class. |
Properties
Name | Description | |
---|---|---|
SegmentKind | Gets the segment kind for the current segment.(Overrides ODataPathSegment.SegmentKind.) |
|
Value | Gets the key value to use for indexing into the collection. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEdmType(IEdmType) | Gets the EDM type for this segment.(Overrides ODataPathSegment.GetEdmType(IEdmType).) |
|
GetEntitySet(IEdmEntitySet) | Gets the entity set for this segment.(Overrides ODataPathSegment.GetEntitySet(IEdmEntitySet).) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | Returns a String that represents this instance.(Overrides Object.ToString().) |
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
System.Web.Http.OData.Routing Namespace
Return to top