CommandLineArgumentGetProperty Method

When implemented in a derived class, gets the value of the property for this argument.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
protected abstract Object? GetProperty(
	Object target
)

Parameters

target  Object
An instance of the type that defined the argument.

Return Value

Object
The value of the property

Exceptions

InvalidOperationException This argument does not use a property.

See Also