CommandLineArgument.ElementType Property

Gets the type of the elements of the argument value.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public Type ElementType { get; }

Property Value

Type
If the Kind property is ArgumentKind.MultiValue, the Type of each individual value; if it is ArgumentKind.Dictionary, KeyValuePair<TKey, TValue>; if the argument type is Nullable<T>, the type T; otherwise, the same value as the ArgumentType property.

See Also