Share via


PosPrinter.GetStatisticsAsync(IIterable<String>) Method

Definition

Gets the specified statistics from the point-of-service printer.

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

Parameters

statisticsCategories

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The list of statistics to retrieve.

  • 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

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

The requested statistics.

Attributes

Applies to

See also