> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.MetricPair

# <a id="SuperOffice_WebApi_Data_MetricPair" /> Class MetricPair

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for MetricPair.
Metric, in the form of string->int

```csharp theme={null}
public class MetricPair
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[MetricPair](SuperOffice.WebApi.Data.MetricPair.md)

#### Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_MetricPair__ctor" /> MetricPair()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public MetricPair()
```

## Properties

### <a id="SuperOffice_WebApi_Data_MetricPair_Name" /> Name

The name of the metric

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_MetricPair_Value" /> Value

The value of the metric

```csharp theme={null}
public virtual int Value { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)


## Related topics

- [SuperOffice.WebApi.Data.ViewState PublishAndRetrieveUiEventsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ViewState_PublishAndRetrieveUiEventsRequest.md)
- [SuperOffice.WebApi.Agents.IViewStateAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IViewStateAgent.md)
- [SuperOffice.WebApi.Agents.ViewStateAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ViewStateAgent.md)
- [SuperOffice.WebApi.Data.ColumnDataDictionary](/en/api/reference/webapi/SuperOffice.WebApi.Data.ColumnDataDictionary.md)
- [SuperOffice.WebApi.Data.StringDictionary](/en/api/reference/webapi/SuperOffice.WebApi.Data.StringDictionary.md)
- [SuperOffice.WebApi.Data.IntStringDictionary](/en/api/reference/webapi/SuperOffice.WebApi.Data.IntStringDictionary.md)
