CommandLineGetArgument Method (Int32, Object, Type) |
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 public static Object GetArgument(
int index,
Object defaultValue,
Type conversionType
)
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.
Return Value
Type:
ObjectA typed value.
See Also