public int? RunCommand(
ReadOnlyMemory<string> args
)
Public Function RunCommand (
args As ReadOnlyMemory(Of String)
) As Integer?
Dim instance As CommandManager
Dim args As ReadOnlyMemory(Of String)
Dim returnValue As Integer?
returnValue = instance.RunCommand(args)
public:
Nullable<int> RunCommand(
ReadOnlyMemory<String^> args
)
This function creates the command by invoking the CreateCommand(ReadOnlyMemoryString) method, and then invokes the ICommandRun method on the command.
Commands that don't meet the criteria of the CommandOptionsCommandFilter predicate are not included.
If the CommandOptionsParentCommand is , only commands without a ParentCommandAttribute attribute are included. If it is not , only commands where the type specified using the ParentCommandAttribute attribute matches the value of the property are included.