NAnt SDK Documentation - v0.92 |

# ResourceFileSetCollection Methods

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

#### Public Instance Methods

Add | Adds a ResourceFileSet to the end of the collection.
AddRange | Overloaded. Adds the elements of a ResourceFileSet array to the end of the collection.
Clear (inherited from CollectionBase) | Removes all objects from the CollectionBase instance. This method cannot be overridden.
Contains | Determines whether a ResourceFileSet 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 ResourceFileSet object in the collection.
Insert | Inserts a ResourceFileSet into the collection at the specified index.
Remove | Removes a member from the collection.
RemoveAt (inherited from CollectionBase) | Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
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.
OnClear (inherited from CollectionBase) | Performs additional custom processes when clearing the contents of the CollectionBase instance.
OnClearComplete (inherited from CollectionBase) | Performs additional custom processes after clearing the contents of the CollectionBase instance.
OnInsert (inherited from CollectionBase) | Performs additional custom processes before inserting a new element into the CollectionBase instance.
OnInsertComplete (inherited from CollectionBase) | Performs additional custom processes after inserting a new element into the CollectionBase instance.
OnRemove (inherited from CollectionBase) | Performs additional custom processes when removing an element from the CollectionBase instance.
OnRemoveComplete (inherited from CollectionBase) | Performs additional custom processes after removing an element from the CollectionBase instance.
OnSet (inherited from CollectionBase) | Performs additional custom processes before setting a value in the CollectionBase instance.
OnSetComplete (inherited from CollectionBase) | Performs additional custom processes after setting a value in the CollectionBase instance.
OnValidate (inherited from CollectionBase) | Performs additional custom processes when validating a value.

#### See Also

ResourceFileSetCollection Class | NAnt.DotNet.Types Namespace