ClaimedLineDisplay.GetStatisticsAsync(IIterable<String>) 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.
Retrieves the requested statistics from the line display.
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
The list of statistics to retrieve.
- An empty list retrieves all statistics.
- To retrieve specific statistics defined by the manufacturer, include the manufacturer-specified statistic names such as "name1" or "name2".
- Include LineDisplayStatisticsCategorySelector.ManufacturerStatistics and LineDisplayStatisticsCategorySelector.UnifiedPosStatistics to retrieve manufacturer-specific and UnifiedPOS statistics respectively.
Returns
An XML string representing the requested statistics.
- Attributes
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|