Condividi tramite


PosPrinter.GetStatisticsAsync(IIterable<String>) Metodo

Definizione

Ottiene le statistiche specificate dalla stampante punto di servizio.

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)

Parametri

statisticsCategories

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Elenco di statistiche da recuperare.

  • Una stringa vuota ("") recupera tutte le statistiche.
  • "U_" recupera tutte le statistiche definite da UnifiedPOS.
  • "M_" recupera tutte le statistiche definite dal produttore.
  • "name1" e/o "name2" recupera statistiche denominate specifiche definite dal produttore o UnifiedPOS.
  • Qualsiasi combinazione di nomi singoli e gruppi ("name3", "U_", "M_").

Restituisce

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Statistiche richieste.

Attributi

Si applica a

Vedi anche