Click or drag to resize

CommandLineGetArgument Method (Int32, Object, Type, IFormatProvider)

Gets a command line argument value by position.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static Object GetArgument(
	int index,
	Object defaultValue,
	Type conversionType,
	IFormatProvider provider
)

Parameters

index
Type: SystemInt32
The argument index.
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.
See Also