Share via


PropertySegment Class

Definition

A segment representing a structural property

public sealed class PropertySegment : Microsoft.OData.UriParser.ODataPathSegment
type PropertySegment = class
    inherit ODataPathSegment
Public NotInheritable Class PropertySegment
Inherits ODataPathSegment
Inheritance
PropertySegment

Constructors

PropertySegment(IEdmStructuralProperty)

Build a segment based on a structural property

Properties

EdmType

Gets the IEdmType of this PropertySegment.

Identifier

Returns the identifier for this segment i.e. string part without the keys.

(Inherited from ODataPathSegment)
Property

Gets the structural property that this segment represents.

Methods

HandleWith(PathSegmentHandler)

Handle a PropertySegment using an instance of PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

Translate a PropertySegment using an instance of PathSegmentTranslator<T>/>.

Applies to