> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NSCsFeatureToggle

> Carrier object for CsFeatureToggle.

Carrier object for CsFeatureToggle.

## Constructors

### NSCsFeatureToggle()

```crmscript theme={null}
NSCsFeatureToggle
```

Initializes a new instance of the NSCsFeatureToggle class.

## Methods

## GetName()

```crmscript theme={null}
String GetName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Name of the feature toggle.

**Example:**

```crmscript theme={null}
NSCsFeatureToggle thing;
String name = thing.GetName();
```

## GetState()

```crmscript theme={null}
Bool GetState()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - is the feature toggle is turned on or off?

**Example:**

```crmscript theme={null}
NSCsFeatureToggle thing;
Bool state = thing.GetState();
```

## SetName(String)

```crmscript theme={null}
Void SetName(String name)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSCsFeatureToggle thing;
String name;
thing.SetName(name);
```

## SetState(Bool)

```crmscript theme={null}
Void SetState(Bool state)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSCsFeatureToggle thing;
Bool state;
thing.SetState(state);
```
