Share via


ClaimedPosPrinter.UpdateStatisticsAsync Method

Definition

Updates the specified statistics for the point-of-service printer.

public:
 virtual IAsyncOperation<bool> ^ UpdateStatisticsAsync(IIterable<IKeyValuePair<Platform::String ^, Platform::String ^> ^> ^ statistics) = UpdateStatisticsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> UpdateStatisticsAsync(IIterable<IKeyValuePair<winrt::hstring, winrt::hstring const&>> const& statistics);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> UpdateStatisticsAsync(IEnumerable<KeyValuePair<string,string>> statistics);
function updateStatisticsAsync(statistics)
Public Function UpdateStatisticsAsync (statistics As IEnumerable(Of KeyValuePair(Of String, String))) As IAsyncOperation(Of Boolean)

Parameters

statistics

IIterable<IKeyValuePair<String,String>>

IEnumerable<KeyValuePair<String,String>>

IIterable<IKeyValuePair<Platform::String,Platform::String>>

IIterable<IKeyValuePair<winrt::hstring,winrt::hstring>>

The statistics to update.

Returns

An operation that returns true if the update succeeds, or otherwise returns false.

Attributes

Applies to