CommandLineArgumentSetProperty Method

When implemented in a derived class, sets the property for this argument.

Definition

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

Parameters

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

Exceptions

InvalidOperationException This argument does not use a writable property.

See Also