ClaimedPosPrinter.UpdateStatisticsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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<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