CommandLineArgument.ElementType Property
Gets the type of the elements of the argument value.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
public Type ElementType { get; }
Public ReadOnly Property ElementType As Type
Get
Dim instance As CommandLineArgument
Dim value As Type
value = instance.ElementType
public:
property Type^ ElementType {
Type^ 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.