---
title: "Class PropertyCopyOption"
slug: "sdk--stylelabs.m.sdk.models.content.propertycopyoption"
abstract: ""
---
# Class PropertyCopyOption

Default implementation of [IPropertyCopyOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ipropertycopyoption.html).

## Inheritance

object

PropertyCopyOption

## Implements

[IPropertyCopyOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ipropertycopyoption.html)

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

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public class PropertyCopyOption : IPropertyCopyOption
```

## Constructors

### PropertyCopyOption(string, PropertyCopyMethod, string)

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

#### Declaration

```csharp
public PropertyCopyOption(string name, PropertyCopyMethod method, string newValue = null)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| string | name | The name of the property. |
| [PropertyCopyMethod](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.propertycopymethod.html) | method | The copy method to use. |
| string | newValue | The property new value. |

## Properties

### Method

Gets or sets copy method name.

#### Declaration

```csharp
public PropertyCopyMethod Method { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [PropertyCopyMethod](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.propertycopymethod.html) |  |

### Name

Gets or sets property name.

#### Declaration

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

#### Property Value

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

### NewValue

Gets or sets new value of property.

#### Declaration

```csharp
public string NewValue { get; set; }
```

#### Property Value

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

### Implements

[IPropertyCopyOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ipropertycopyoption.html)
