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: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
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