Share via


DeviceStatistics.SetStatisticValue(String, Object) Method

Definition

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.

Applies to