Share via


PropertyAccessPathSegment Class

An ODataPathSegment implementation representing a property access.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Routing.ODataPathSegment
    System.Web.Http.OData.Routing.PropertyAccessPathSegment

Namespace:  System.Web.Http.OData.Routing
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

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

The PropertyAccessPathSegment type exposes the following members.

Constructors

  Name Description
Public method PropertyAccessPathSegment(IEdmProperty) Initializes a new instance of the PropertyAccessPathSegment class.
Public method PropertyAccessPathSegment(String) Initializes a new instance of the PropertyAccessPathSegment class.

Top

Properties

  Name Description
Public property Property Gets the property property being accessed by this segment.
Public property PropertyName Gets the name of the property.
Public property SegmentKind Gets the segment kind for the current segment. (Overrides ODataPathSegment.SegmentKind.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEdmType Gets the EDM type for this segment. (Overrides ODataPathSegment.GetEdmType(IEdmType).)
Public method GetEntitySet Gets the entity set for this segment. (Overrides ODataPathSegment.GetEntitySet(IEdmEntitySet).)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a String that represents this instance. (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.

See Also

Reference

System.Web.Http.OData.Routing Namespace