Click or drag to resize

CommandLineGetArgumentT Method (Int32, T, IFormatProvider)

Gets a command line argument value by position.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static T GetArgument<T>(
	int index,
	T defaultValue,
	IFormatProvider provider
)

Parameters

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