NAnt SDK Documentation - v0.92 |

# PropertyDictionary Methods

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

#### Public Instance Methods

Add | Adds a property to the collection.
AddReadOnly | Adds a property that cannot be changed.
Clear (inherited from DictionaryBase) | Clears the contents of the DictionaryBase instance.
Contains | Determines whether a property already exists.
CopyTo (inherited from DictionaryBase) | Copies the DictionaryBase elements to a one-dimensional Array at the specified index.
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
ExpandProperties | Expands a String from known properties.
GetEnumerator (inherited from DictionaryBase) | Returns an IDictionaryEnumerator that iterates through the DictionaryBase instance.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type.
GetType (inherited from Object) | Gets the Type of the current instance.
Inherit | Inherits properties from an existing property dictionary Instance.
IsDynamicProperty | Determines whether the specified property is listed as dynamic.
IsReadOnlyProperty | Determines whether the specified property is listed as read-only.
MarkDynamic | Marks a property as a property of which the value is expanded at execution time.
Remove | Removes the property with the specified name.
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 |
OnClearComplete (inherited from DictionaryBase) | Performs additional custom processes after clearing the contents of the DictionaryBase instance.
OnGet (inherited from DictionaryBase) | Gets the element with the specified key and value in the DictionaryBase instance.
OnInsert | Performs additional custom processes before inserting a new element into the DictionaryBase instance.
OnInsertComplete (inherited from DictionaryBase) | Performs additional custom processes after inserting a new element into the DictionaryBase instance.
OnRemove | Performs additional custom processes before removing an element from the DictionaryBase instance.
OnRemoveComplete (inherited from DictionaryBase) | Performs additional custom processes after removing an element from the DictionaryBase instance.
OnSet |
OnSetComplete (inherited from DictionaryBase) | Performs additional custom processes after setting a value in the DictionaryBase instance.
OnValidate | Performs additional custom processes when validating the element with the specified key and value.

#### See Also

PropertyDictionary Class | NAnt.Core Namespace