# Command.RunCommandDelegate delegate

Namespace: [Rhino.Commands](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.commands.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public delegate Command.RunCommandDelegate
```

**Signature:**

```cs
Result Command.RunCommandDelegate(RhinoDoc doc, RunMode mode, object data)
```

**Parameters:**

- `doc` ([RhinoDoc](https://developer.rhino3d.com/api/rhinocommon/type/rhino.rhinodoc.md))
- `mode` ([RunMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.commands.runmode.md))
- `data` ([object](https://learn.microsoft.com/dotnet/api/system.object))
