PosPrinter.GetStatisticsAsync(IEnumerable<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
IEnumerable<String>

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>

The requested statistics.

Attributes

Applies to

See also