ClaimedPosPrinter.UpdateStatisticsAsync 方法

定义

汇报服务点打印机的指定统计信息。

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)

参数

statistics

IIterable<IKeyValuePair<String,String>>

IEnumerable<KeyValuePair<String,String>>

IIterable<IKeyValuePair<Platform::String,Platform::String>>

IIterable<IKeyValuePair<winrt::hstring,winrt::hstring>>

要更新的统计信息。

返回

如果更新成功,则返回 true 的操作,否则返回 false。

属性

适用于