NAnt SDK Documentation - v0.92 |

# Target Methods

The methods of the Target class are listed below. For a complete list of Target class members, see the Target Members topic.

#### Public Instance Methods

Clone | Creates a shallow copy of the Target.
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
Execute | Executes dependent targets first, then the target.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type.
GetLocation (inherited from Element) | Retrieves the location in the build file where the element is defined.
GetType (inherited from Object) | Gets the Type of the current instance.
Initialize (inherited from Element) | Performs default initialization.
Log (inherited from Element) | Overloaded. Logs a message with the given priority.
ToString (inherited from Object) | Returns a String that represents the current Object.

#### See Also

Target Class | NAnt.Core Namespace