Share via


PropertySegment Class

A segment representing a structural property

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.Query.SemanticAst.ODataPathSegment
      Microsoft.Data.OData.Query.SemanticAst.PropertySegment

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

Syntax

'Declaration
Public NotInheritable Class PropertySegment _
    Inherits ODataPathSegment
'Usage
Dim instance As PropertySegment
public sealed class PropertySegment : ODataPathSegment
public ref class PropertySegment sealed : public ODataPathSegment
[<SealedAttribute>]
type PropertySegment =  
    class 
        inherit ODataPathSegment 
    end
public final class PropertySegment extends ODataPathSegment

The PropertySegment type exposes the following members.

Constructors

  Name Description
Public method PropertySegment Build a segment based on a structural property

Top

Properties

  Name Description
Public property EdmType Gets the IEdmType of this PropertySegment. (Overrides ODataPathSegment.EdmType.)
Public property Property Gets the structural property that this segment represents.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Handle Handle a PropertySegment using an instance of PathSegmentHandler. (Overrides ODataPathSegment.Handle(PathSegmentHandler).)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)
Public method Translate<T>(PathSegmentTranslator<T>) Translate a ODataPathSegment using an implemntation of PathSegmentTranslator<T>. (Inherited from ODataPathSegment.)
Public method Translate<T>(PathSegmentTranslator<T>) Translate a PropertySegment using an instance of PathSegmentTranslator<T> /&amp;gt;. (Overrides ODataPathSegment.Translate<T>(PathSegmentTranslator<T>).)

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