Share via


InlineCountQueryOption Class

Represents the value of the $inlinecount query option and exposes a way to retrieve the number of entities that satisfy a query.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Query.InlineCountQueryOption

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

Syntax

'Declaration
Public Class InlineCountQueryOption
'Usage
Dim instance As InlineCountQueryOption
public class InlineCountQueryOption
public ref class InlineCountQueryOption
type InlineCountQueryOption =  class end
public class InlineCountQueryOption

The InlineCountQueryOption type exposes the following members.

Constructors

  Name Description
Public method InlineCountQueryOption Initializes a new instance of the InlineCountQueryOption class.

Top

Properties

  Name Description
Public property Context Gets the given ODataQueryContext.
Public property RawValue Gets the raw $inlinecount value.
Public property Value Gets the value of the $inlinecount in a parsed form.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEntityCount Gets the number of entities that satisfies the given query if the response should include an inline count, or null otherwise.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

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.Query Namespace