Click or drag to resize

CommandLineGetArgument Method (String, Object, Type, IFormatProvider)

Gets a command line argument value by name.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Object GetArgument(
	string name,
	Object defaultValue,
	Type conversionType,
	IFormatProvider provider
)

Parameters

name
Type: SystemString
The argument name.
defaultValue
Type: SystemObject
The default value if the argument is not defined.
conversionType
Type: SystemType
The expected argument value type.
provider
Type: SystemIFormatProvider
The format provider.

Return Value

Type: Object
A typed value.
Exceptions
ExceptionCondition
ArgumentNullException name is null or conversionType is null.
See Also