IHistogram<T>.Record 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
| Name | Description |
|---|---|
| Record(T) |
Records a measurement value. |
| Record(T, KeyValuePair<String,Object>) |
Records a measurement value. |
| Record(T, KeyValuePair<String,Object>[]) |
Records a measurement value. |
| Record(T, ReadOnlySpan<KeyValuePair<String,Object>>) |
Records a measurement value. |
| Record(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>) |
Records a measurement value. |
| Record(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>, KeyValuePair<String,Object>) |
Records a measurement value. |
Record(T)
Records a measurement value.
public void Record(T value);
abstract member Record : 'T -> unit
Public Sub Record (value As T)
Parameters
- value
- T
The measurement value.
Applies to
Record(T, KeyValuePair<String,Object>)
Records a measurement value.
public void Record(T value, System.Collections.Generic.KeyValuePair<string,object?> tag);
abstract member Record : 'T * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Record (value As T, tag As KeyValuePair(Of String, Object))
Parameters
- value
- T
The measurement value.
- tag
- KeyValuePair<String,Object>
A key-value pair tag associated with the measurement.
Applies to
Record(T, KeyValuePair<String,Object>[])
Records a measurement value.
public void Record(T value, params System.Collections.Generic.KeyValuePair<string,object>[] tags);
abstract member Record : 'T * System.Collections.Generic.KeyValuePair<string, obj>[] -> unit
Public Sub Record (value As T, ParamArray tags As KeyValuePair(Of String, Object)())
Parameters
- value
- T
The measurement value.
- tags
- KeyValuePair<String,Object>[]
A list of key-value pair tags associated with the measurement.
Applies to
Record(T, ReadOnlySpan<KeyValuePair<String,Object>>)
Records a measurement value.
public void Record(T value, ReadOnlySpan<System.Collections.Generic.KeyValuePair<string,object?>> tags);
abstract member Record : 'T * ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, obj>> -> unit
Public Sub Record (value As T, tags As ReadOnlySpan(Of KeyValuePair(Of String, Object)))
Parameters
- value
- T
The measurement value.
- tags
- ReadOnlySpan<KeyValuePair<String,Object>>
A span of key-value pair tags associated with the measurement.
Applies to
Record(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>)
Records a measurement value.
public void Record(T value, System.Collections.Generic.KeyValuePair<string,object?> tag1, System.Collections.Generic.KeyValuePair<string,object?> tag2);
abstract member Record : 'T * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Record (value As T, tag1 As KeyValuePair(Of String, Object), tag2 As KeyValuePair(Of String, Object))
Parameters
- value
- T
The measurement value.
- tag1
- KeyValuePair<String,Object>
A first key-value pair tag associated with the measurement.
- tag2
- KeyValuePair<String,Object>
A second key-value pair tag associated with the measurement.
Applies to
Record(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>, KeyValuePair<String,Object>)
Records a measurement value.
public void Record(T value, System.Collections.Generic.KeyValuePair<string,object?> tag1, System.Collections.Generic.KeyValuePair<string,object?> tag2, System.Collections.Generic.KeyValuePair<string,object?> tag3);
abstract member Record : 'T * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Record (value As T, tag1 As KeyValuePair(Of String, Object), tag2 As KeyValuePair(Of String, Object), tag3 As KeyValuePair(Of String, Object))
Parameters
- value
- T
The measurement value.
- tag1
- KeyValuePair<String,Object>
A first key-value pair tag associated with the measurement.
- tag2
- KeyValuePair<String,Object>
A second key-value pair tag associated with the measurement.
- tag3
- KeyValuePair<String,Object>
A third key-value pair tag associated with the measurement.