Click or drag to resize

CommandLineGetArgumentT Method (String, T, 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 T GetArgument<T>(
	string name,
	T defaultValue,
	IFormatProvider provider
)

Parameters

name
Type: SystemString
The argument name.
defaultValue
Type: T
The default value if the argument is not defined.
provider
Type: SystemIFormatProvider
The format provider.

Type Parameters

T
The expected type

Return Value

Type: T
A typed value.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
See Also