TargetCollection.

Find(string) Method

Summary

Finds a target by name.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
TargetCollection

Syntax

public Target Find(string targetName)

Parameters

Name Type Description
targetName string The name of the target to find.

Return Value

Type Description
Target The NAnt.Core.Target with the specified name, or null if no NAnt.Core.Target exists with the given name.