The Dimension data type further expands on the identity of a metric using a Name, Value pair.
For examples that use one or more dimensions, see PutMetricData.

C# |
public class Dimension

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | Dimension()()()() | Initializes a new instance of the Dimension class |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | Name |
The name of the dimension.
Constraints: |
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Value |
The value representing the dimension measurement
Constraints: |
![]() | WithName(String) | Obsolete.
Sets the Name property
|
![]() | WithValue(String) | Obsolete.
Sets the Value property
|

Object | |
![]() | Dimension |