NAnt SDK Documentation - v0.92 |

# PatternCollection Members

PatternCollection overview

#### Public Instance Constructors

PatternCollection Constructor | Initializes a new instance of the PatternCollection class.

#### Public Instance Properties

Count |
Item | Gets or sets the element at the specified index.

#### Public Instance Methods

Add | Adds a Pattern to the end of the collection.
AddRange | Overloaded. 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