DeviceStatistics.SetStatisticValue(String, Object) 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.
Sets the value of a specified statistic.
public void SetStatisticValue (string name, object value);
member this.SetStatisticValue : string * obj -> unit
Public Sub SetStatisticValue (name As String, value As Object)
Parameters
- name
- String
Name of (or the constant that refers to) the statistic whose value is to be set.
- value
- Object
The value to which the statistic should be set.