OptionCollection.Item

OptionCollection indexer (1 of 2)

Gets option by index.

public Option this[int index] { get; }
ParameterDescription
indexIndex of the option.

Return Value

Option on the specified index.

See Also


OptionCollection indexer (2 of 2)

Gets option by its name.

public Option this[string name] { get; }
ParameterDescription
nameName of the option.

Return Value

Found option.

See Also