ClaimedCashDrawer.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 device statistics values using the provided key/value pair.
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
True if update succeeded; otherwise false.
- Attributes
Remarks
This method generates a change of state.