Click or drag to resize

CrestronConsoleRemoveConsoleCommand Method

Function for the user to remove console commands from the system. Only commands which have been registered by the user can be removed

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static bool RemoveConsoleCommand(
	string userCmdName
)

Parameters

userCmdName  String
Name of the console command to remove

Return Value

Boolean
true if the operation succeeds; otherwise false
Exceptions
ExceptionCondition
ArgumentException command name passed in was not registered by the user or command name contains spaces
ArgumentOutOfRangeException Specified parameter is out of range.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also