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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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