NAnt SDK Documentation - v0.92 |

# PropertyDictionary.OnInsert Method

Performs additional custom processes before inserting a new element into the DictionaryBase instance.

[Visual Basic]
Overrides Protected Sub OnInsert( _
ByVal key As Object, _
ByVal value As Object _
)
[C#]
protected override void OnInsert(
object key,
object value
);

#### Parameters

key
  The key of the element to insert.
value
  The value of the element to insert.

#### See Also

PropertyDictionary Class | NAnt.Core Namespace