Click or drag to resize

ArgumentsTryGetValue Method

Gets the value associated with the specified argument in the command-line command.

Namespace: GSF.Console
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public virtual bool TryGetValue(
	string argument,
	out string value
)
View Source

Parameters

argument  String
The argument whose value is to be retrieved.
value  String
Value associated with the specified argument if it exists in the command-line command, otherwise null.

Return Value

Boolean
true if argument existed and was returned; otherwise false.
See Also