public int? RunCommand(
string[] args,
int index = 0
)Public Function RunCommand (
args As String(),
Optional index As Integer = 0
) As Integer?
Dim instance As CommandManager
Dim args As String()
Dim index As Integer
Dim returnValue As Integer?
returnValue = instance.RunCommand(args,
index)public:
Nullable<int> RunCommand(
array<String^>^ args,
int index = 0
)This function creates the command by invoking the CreateCommand(String, Int32), method and then invokes the Run method on the command.
| ArgumentNullException | args is |
| ArgumentOutOfRangeException | index does not fall inside the bounds of args. |