Targets Property

NAnt SDK Documentation - v0.92 |

# CommandLineOptions.Targets Property

Gets a collection containing the targets that should be executed.

[Visual Basic]
<DefaultCommandLineArgument(Type:=CommandLineArgumentTypes.MultipleUnique, Name:="target", ShortName:="null", Description:="null")>
Public ReadOnly Property Targets As StringCollection
[C#]
[DefaultCommandLineArgument(Type=CommandLineArgumentTypes.MultipleUnique, Name="target", ShortName="null", Description="null")]
public System.Collections.Specialized.StringCollection Targets {get;}

#### Property Value

A collection that contains the targets that should be executed.

#### See Also

CommandLineOptions Class | NAnt.Core Namespace