Bagikan melalui


QueryChargeHelper.TryGetQueryCharge<T>(Page<T>, Single) Method

Definition

Extract the query-charge field from a page header.

public static bool TryGetQueryCharge<T> (Azure.Page<T> page, out float queryCharge);
static member TryGetQueryCharge : Azure.Page<'T> * single -> bool
Public Shared Function TryGetQueryCharge(Of T) (page As Page(Of T), ByRef queryCharge As Single) As Boolean

Type Parameters

T

Parameters

page
Page<T>

The page that contains the query-charge header.

queryCharge
Single

The query charge extracted from the header.

Returns

True if the header contains a query-charge field, otherwise false.

Remarks

For more samples, see our repo samples.

Applies to