
# ICommandGetState interface

*No description yet.*

```csharp
public interface ICommandGetState
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetState](#getstate) | `void` |  |

### GetState

*No description yet.*

```csharp
void GetState(string argProcess, ref string argParameters, IServerDocumentView argContext, ref bool argEnabled, ref bool argChecked, ref bool argVisible, ref string argCaption, ref string argImageFile);
void GetState(string argProcess, ref string argParameters, object argContext, ref bool argEnabled, ref bool argChecked, ref bool argVisible, ref string argCaption, ref string argImageFile);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argProcess` | `string` | value |
| `argParameters` | `string` | ref |
| `argContext` | [IServerDocumentView](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IServerDocumentView.md) | value |
| `argEnabled` | `bool` | ref |
| `argChecked` | `bool` | ref |
| `argVisible` | `bool` | ref |
| `argCaption` | `string` | ref |
| `argImageFile` | `string` | ref |

**Returns:** nothing (`void`)

The first overload is an extension method of `ICommandGetStateHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

## Accepted by

[IProcessLauncher2.SetCommandGetStateCallback](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IProcessLauncher2.md#setcommandgetstatecallback)
