ClaimedCashDrawer.ResetStatisticsAsync(IIterable<String>) 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.
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
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.