ArgumentsTryGetValue Method
Gets the value associated with the specified argument in the command-line command.
Namespace: Gemstone.ConsoleAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
public virtual bool TryGetValue(
string argument,
out string value
)
Public Overridable Function TryGetValue (
argument As String,
<OutAttribute> ByRef value As String
) As Boolean
public:
virtual bool TryGetValue(
String^ argument,
[OutAttribute] String^% value
)
function TryGetValue(argument, value);
- 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.
Booleantrue if argument existed and was returned; otherwise
false.