ClaimedPosPrinter.ResetStatisticsAsync(IIterable<String>) Method

Definition

Resets the specified statistics to zero for all statistics for the point-of-service printer that can be reset.

public:
 virtual IAsyncOperation<bool> ^ ResetStatisticsAsync(IIterable<Platform::String ^> ^ statisticsCategories) = ResetStatisticsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> ResetStatisticsAsync(IIterable<winrt::hstring> const& statisticsCategories);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> ResetStatisticsAsync(IEnumerable<string> statisticsCategories);
function resetStatisticsAsync(statisticsCategories)
Public Function ResetStatisticsAsync (statisticsCategories As IEnumerable(Of String)) As IAsyncOperation(Of Boolean)

Parameters

statisticsCategories

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

A list of the names of the statistics that you want to reset.

  • An empty string ("") retrieves all statistics.
  • "U_" retrieves all UnifiedPOS-defined statistics.
  • "M_" retrieves all manufacturer-defined statistics.
  • Name1 and/or Name2 retrieves specific named statistics as defined by the UnifiedPOS or manufacturer.
  • Any combination of individual and group names (Name3, "U_", "M_"). .

Returns

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

Attributes

Remarks

This method represents a change in state.

Applies to