KeySegment Class
A segment representing a key lookup in a path.
Inheritance Hierarchy
System.Object
Microsoft.Data.OData.ODataAnnotatable
Microsoft.Data.OData.Query.SemanticAst.ODataPathSegment
Microsoft.Data.OData.Query.SemanticAst.KeySegment
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public NotInheritable Class KeySegment _
Inherits ODataPathSegment
'Usage
Dim instance As KeySegment
public sealed class KeySegment : ODataPathSegment
public ref class KeySegment sealed : public ODataPathSegment
[<SealedAttribute>]
type KeySegment =
class
inherit ODataPathSegment
end
public final class KeySegment extends ODataPathSegment
The KeySegment type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
KeySegment | Construct a Segment that represents a key lookup. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
EdmType | Gets the type of the item this key returns (Overrides ODataPathSegment.EdmType.) |
![]() |
EntitySet | Gets the entity set that this key is used to search. |
![]() |
Keys | Gets the set of key property names and the values to be used in searching for the given item. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetAnnotation<T> | Gets or sets the annotation by type. (Inherited from ODataAnnotatable.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
Handle | Handle a KeySegment using an instance of PathSegmentHandler. (Overrides ODataPathSegment.Handle(PathSegmentHandler).) |
![]() |
SetAnnotation<T> | Sets an annotation of type T. (Inherited from ODataAnnotatable.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
Translate<T>(PathSegmentTranslator<T>) | Translate a KeySegment using an instance of PathSegmentTranslator<T>. (Overrides ODataPathSegment.Translate<T>(PathSegmentTranslator<T>).) |
![]() |
Translate<T>(PathSegmentTranslator<T>) | Translate a ODataPathSegment using an implemntation of PathSegmentTranslator<T>. (Inherited from ODataPathSegment.) |
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.