CountSegment Class
A segment representing $count in a path
Inheritance Hierarchy
System.Object
Microsoft.Data.OData.ODataAnnotatable
Microsoft.Data.OData.Query.SemanticAst.ODataPathSegment
Microsoft.Data.OData.Query.SemanticAst.CountSegment
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public NotInheritable Class CountSegment _
Inherits ODataPathSegment
'Usage
Dim instance As CountSegment
public sealed class CountSegment : ODataPathSegment
public ref class CountSegment sealed : public ODataPathSegment
[<SealedAttribute>]
type CountSegment =
class
inherit ODataPathSegment
end
public final class CountSegment extends ODataPathSegment
The CountSegment type exposes the following members.
Properties
Name | Description | |
---|---|---|
EdmType | Gets the IEdmType of this CountSegment, which is always Edm.Int32. (Overrides ODataPathSegment.EdmType.) |
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 CountSegment 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 CountSegment 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
Fields
Name | Description | |
---|---|---|
Instance | Return the singleton instance of Count |
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.