CommandLineGetArgument Method (String, Object, Type, IFormatProvider) |
Gets a command line argument value by name.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax 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:
ObjectA typed value.
Exceptions See Also