Item Property (String)

NAnt SDK Documentation - v0.92 |

# OptionCollection.Item Property (String)

Gets the Option with the specified name.

[Visual Basic]
Overloads Public Default ReadOnly Property Item( _
ByVal name As String _
) As Option
[C#]
public Option this[
string name
] {get;}

#### Parameters

name
  The name of the option that should be located in the collection.

#### See Also

OptionCollection Class | NAnt.Core.Types Namespace | OptionCollection.Item Overload List