ClaimedCashDrawer.ResetStatisticsAsync(IIterable<String>) Method

Definition

Resets the specified device statistics to their defaults.

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>

The list of names of the statistics 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 groups names ("name3", "U_", "M_").

Returns

True on success; otherwise false.

Attributes

Remarks

This method represents a change in state.

Applies to