Click or drag to resize

CommandLineGetArgumentT Method (Int32, T)

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 T GetArgument<T>(
	int index,
	T defaultValue
)

Parameters

index
Type: SystemInt32
The argument index.
defaultValue
Type: T
The default value if the argument is not defined.

Type Parameters

T
The expected type

Return Value

Type: T
A typed value.
See Also