DeviceStatistics.UpdateStatistics 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.
Overloads
UpdateStatistics(Statistic[]) |
Updates a list of statistics with the corresponding specified values. |
UpdateStatistics(StatisticCategories, Object) |
Updates the specified category of statistics with the specified value. |
UpdateStatistics(Statistic[])
Updates a list of statistics with the corresponding specified values.
public void UpdateStatistics (Microsoft.PointOfService.Statistic[] statistics);
member this.UpdateStatistics : Microsoft.PointOfService.Statistic[] -> unit
Public Sub UpdateStatistics (statistics As Statistic())
Parameters
- statistics
- Statistic[]
Contains an array of Statistic class instances (name-value pairs).
Applies to
UpdateStatistics(StatisticCategories, Object)
Updates the specified category of statistics with the specified value.
public void UpdateStatistics (Microsoft.PointOfService.StatisticCategories statistics, object value);
member this.UpdateStatistics : Microsoft.PointOfService.StatisticCategories * obj -> unit
Public Sub UpdateStatistics (statistics As StatisticCategories, value As Object)
Parameters
- statistics
- StatisticCategories
Contains the category of statistics the application wishes to update. Possible categories are defined by the StatisticCategories enumeration.
- value
- Object
Contains the value to be used to update the statistics in the specified category.