Share via


CountSegment Class

Definition

A segment representing $count in a path

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

Fields

Instance

Return the singleton instance of Count

Properties

EdmType

Gets the IEdmType of this CountSegment, which is always Edm.Int32.

Identifier

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

(Inherited from ODataPathSegment)

Methods

HandleWith(PathSegmentHandler)

Handle a CountSegment using an instance of PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

Translate a CountSegment using an instance of PathSegmentTranslator<T>.

Applies to