Share via


HttpRequestMessageProperties.TotalCount Property

 

Gets or sets the total count for the OData response. Getter returns null if no count should be sent back to the client.

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

Syntax

public Nullable<long> TotalCount { get; set; }
public:
property Nullable<long long> TotalCount {
    Nullable<long long> get();
    void set(Nullable<long long> value);
}
member TotalCount : Nullable<int64> with get, set
Public Property TotalCount As Nullable(Of Long)

Property Value

Type: System.Nullable<Int64>

See Also

HttpRequestMessageProperties Class
System.Web.Http.OData.Extensions Namespace

Return to top