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.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
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