This document is archived and information here might be outdated.  Recommended version.


IGpDispatch.Command Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.Command Method
ArcGIS Developer Help

IGpDispatch.Command Method

executes the given command line.

[Visual Basic .NET]
Public Function Command ( _
    ByVal CommandLine As String _
) As String
[C#]
public string Command (
    string CommandLine
);
[C++]
HRESULT Command(
  BSTR CommandLine
);
[C++]
Parameters
CommandLine [in]

CommandLine is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGpDispatch Interface