---
title: "Class Parameter"
slug: "sdk--stylelabs.m.sdk.models.localization.parameter"
abstract: ""
---
# Class Parameter

Defines a named or positional parameter for translations.

## Inheritance

object

Parameter

## Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsLocalization

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public class Parameter
```

## Constructors

### Parameter(double)

Initializes a new instance of the [Parameter](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.localization.parameter.html) class.

#### Declaration

```csharp
public Parameter(double value)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| double | value | The value of the parameter. |

### Parameter(int)

Initializes a new instance of the [Parameter](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.localization.parameter.html) class.

#### Declaration

```csharp
public Parameter(int value)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| int | value | The value of the parameter. |

### Parameter(long)

Initializes a new instance of the [Parameter](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.localization.parameter.html) class.

#### Declaration

```csharp
public Parameter(long value)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| long | value | The value of the parameter. |

### Parameter(string, double)

Initializes a new instance of the [Parameter](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.localization.parameter.html) class.

#### Declaration

```csharp
public Parameter(string name, double value)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| string | name | The name of the parameter. |
| double | value | The value of the parameter. |

### Parameter(string, int)

Initializes a new instance of the [Parameter](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.localization.parameter.html) class.

#### Declaration

```csharp
public Parameter(string name, int value)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| string | name | The name of the parameter. |
| int | value | The value of the parameter. |

### Parameter(string, long)

Initializes a new instance of the [Parameter](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.localization.parameter.html) class.

#### Declaration

```csharp
public Parameter(string name, long value)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| string | name | The name of the parameter. |
| long | value | The value of the parameter. |

### Parameter(string, string)

Initializes a new instance of the [Parameter](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.localization.parameter.html) class.

#### Declaration

```csharp
public Parameter(string name, string value)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| string | name | The name of the parameter. |
| string | value | The value of the parameter. |

### Parameter(string)

Initializes a new instance of the [Parameter](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.localization.parameter.html) class.

#### Declaration

```csharp
public Parameter(string value)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| string | value | The value of the parameter. |

## Properties

### Name

Gets the parameter name.

#### Declaration

```csharp
public string? Name { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| string |  |

### Value

Gets the parameter value.

#### Declaration

```csharp
public string Value { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| string |  |
