NAnt SDK Documentation - v0.92

PatternCollection Methods

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

Public Instance Methods

Add Adds a Pattern to the end of the collection.
AddRangeOverloaded. Adds the elements of a Pattern array to the end of the collection.
Clear Removes all items from the PatternCollection.
Contains Determines whether a Pattern is in the collection.
CopyTo Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the collection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Retrieves the index of a specified Pattern object in the collection.
Insert Inserts a Pattern into the collection at the specified index.
Remove Removes a member from the collection.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternCollection Class | NAnt.Core.Types Namespace