﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DictionaryBase" FullName="System.Collections.DictionaryBase"><TypeSignature Maintainer="auto" Language="C#" Value="public abstract class DictionaryBase : System.Collections.IDictionary" /><TypeSignature Language="ILAsm" Value=".class public auto ansi abstract serializable beforefieldinit DictionaryBase extends System.Object implements class System.Collections.ICollection, class System.Collections.IDictionary, class System.Collections.IEnumerable" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.Collections.IDictionary</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The foreach statement of the C# language (for each in Visual Basic) requires the type of each element in the collection. Since each element of the <see cref="T:System.Collections.DictionaryBase" /> is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is <see cref="T:System.Collections.DictionaryEntry" />.</para><para>The foreach statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection.</para><block subset="none" type="note"><para>Because keys can be inherited and their behavior changed, their absolute uniqueness cannot be guaranteed by comparisons using the <see cref="M:System.Type.Equals(System.Object)" /> method.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides the abstract base class for a strongly typed collection of key/value pairs.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected DictionaryBase ();" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Collections.DictionaryBase" /> class.</para></summary></Docs></Member><Member MemberName="Clear"><MemberSignature Language="C#" Value="public void Clear ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Clear() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="P:System.Collections.DictionaryBase.Count" /> is set to zero, and references to other objects from elements of the collection are also released.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.DictionaryBase.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Clears the contents of the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary></Docs></Member><Member MemberName="CopyTo"><MemberSignature Language="C#" Value="public void CopyTo (Array array, int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CopyTo(class System.Array array, int32 index) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="array" Type="System.Array" /><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The elements are copied to the <see cref="T:System.Array" /> in the same order in which the enumerator iterates through the <see cref="T:System.Collections.DictionaryBase" />.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.DictionaryBase.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the <see cref="T:System.Collections.DictionaryBase" /> elements to a one-dimensional <see cref="T:System.Array" /> at the specified index.</para></summary><param name="array"><attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional <see cref="T:System.Array" /> that is the destination of the <see cref="T:System.Collections.DictionaryEntry" /> objects copied from the <see cref="T:System.Collections.DictionaryBase" /> instance. The <see cref="T:System.Array" /> must have zero-based indexing. </param><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index in <paramref name="array" /> at which copying begins. </param></Docs></Member><Member MemberName="Count"><MemberSignature Language="C#" Value="public int Count { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 Count" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'int'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the number of elements contained in the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary></Docs></Member><Member MemberName="Dictionary"><MemberSignature Language="C#" Value="protected System.Collections.IDictionary Dictionary { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Collections.IDictionary Dictionary" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IDictionary</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'IDictionary'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the list of elements contained in the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary></Docs></Member><Member MemberName="GetEnumerator"><MemberSignature Language="C#" Value="public System.Collections.IDictionaryEnumerator GetEnumerator ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.IDictionaryEnumerator GetEnumerator() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IDictionaryEnumerator</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The foreach statement of the C# language (for each in Visual Basic) hides the complexity of the enumerators.  Therefore, using foreach is recommended, instead of directly manipulating the enumerator.</para><para>Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.</para><para>Initially, the enumerator is positioned before the first element in the collection. <see cref="M:System.Collections.IEnumerator.Reset" /> also brings the enumerator back to this position.  At this position, <see cref="P:System.Collections.IEnumerator.Current" /> is undefined. Therefore, you must call <see cref="M:System.Collections.IEnumerator.MoveNext" /> to advance the enumerator to the first element of the collection before reading the value of <see cref="P:System.Collections.IEnumerator.Current" />.</para><para><see cref="P:System.Collections.IEnumerator.Current" /> returns the same object until either <see cref="M:System.Collections.IEnumerator.MoveNext" /> or <see cref="M:System.Collections.IEnumerator.Reset" /> is called. <see cref="M:System.Collections.IEnumerator.MoveNext" /> sets <see cref="P:System.Collections.IEnumerator.Current" /> to the next element.</para><para>If <see cref="M:System.Collections.IEnumerator.MoveNext" /> passes the end of the collection, the enumerator is positioned after the last element in the collection and <see cref="M:System.Collections.IEnumerator.MoveNext" /> returns false. When the enumerator is at this position, subsequent calls to <see cref="M:System.Collections.IEnumerator.MoveNext" /> also return false. If the last call to <see cref="M:System.Collections.IEnumerator.MoveNext" /> returned false, <see cref="P:System.Collections.IEnumerator.Current" /> is undefined. To set <see cref="P:System.Collections.IEnumerator.Current" /> to the first element of the collection again, you can call <see cref="M:System.Collections.IEnumerator.Reset" /> followed by <see cref="M:System.Collections.IEnumerator.MoveNext" />.</para><para>An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated and its behavior is undefined.</para><para>The enumerator does not have exclusive access to the collection; therefore, enumerating through a collection is intrinsically not a thread-safe procedure.  To guarantee thread safety during enumeration, you can lock the collection during the entire enumeration.  To allow the collection to be accessed by multiple threads for reading and writing, you must implement your own synchronization.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> that iterates through the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IDictionaryEnumerator" /> for the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></returns></Docs></Member><Member MemberName="InnerHashtable"><MemberSignature Language="C#" Value="protected System.Collections.Hashtable InnerHashtable { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Hashtable InnerHashtable" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.Hashtable</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'Hashtable'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the list of elements contained in the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary></Docs></Member><Member MemberName="OnClear"><MemberSignature Language="C#" Value="protected virtual void OnClear ();" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnClear() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method is intended to be overridden by a derived class to perform some action before the collection is cleared.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs additional custom processes before clearing the contents of the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary></Docs></Member><Member MemberName="OnClearComplete"><MemberSignature Language="C#" Value="protected virtual void OnClearComplete ();" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnClearComplete() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method is intended to be overridden by a derived class to perform some action after the collection is cleared.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs additional custom processes after clearing the contents of the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary></Docs></Member><Member MemberName="OnGet"><MemberSignature Language="C#" Value="protected virtual object OnGet (object key, object currentValue);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance object OnGet(object key, object currentValue) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /><Parameter Name="currentValue" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method returns <paramref name="currentValue" />. It is intended to be overridden by a derived class to perform additional action when the specified element is retrieved.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the element with the specified key and value in the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Object" /> containing the element with the specified key and value.</para></returns><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to get. </param><param name="currentValue"><attribution license="cc4" from="Microsoft" modified="false" />The current value of the element associated with <paramref name="key" />. </param></Docs></Member><Member MemberName="OnInsert"><MemberSignature Language="C#" Value="protected virtual void OnInsert (object key, object value);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnInsert(object key, object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method is intended to be overridden by a derived class to perform some action before the specified element is inserted.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs additional custom processes before inserting a new element into the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to insert. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the element to insert. </param></Docs></Member><Member MemberName="OnInsertComplete"><MemberSignature Language="C#" Value="protected virtual void OnInsertComplete (object key, object value);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnInsertComplete(object key, object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method is intended to be overridden by a derived class to perform some action after the specified element is inserted.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs additional custom processes after inserting a new element into the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to insert. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the element to insert. </param></Docs></Member><Member MemberName="OnRemove"><MemberSignature Language="C#" Value="protected virtual void OnRemove (object key, object value);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnRemove(object key, object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method is intended to be overridden by a derived class to perform some action before the specified element is removed.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs additional custom processes before removing an element from the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to remove. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the element to remove. </param></Docs></Member><Member MemberName="OnRemoveComplete"><MemberSignature Language="C#" Value="protected virtual void OnRemoveComplete (object key, object value);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnRemoveComplete(object key, object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method is intended to be overridden by a derived class to perform some action after the specified element is removed.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs additional custom processes after removing an element from the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to remove. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the element to remove. </param></Docs></Member><Member MemberName="OnSet"><MemberSignature Language="C#" Value="protected virtual void OnSet (object key, object oldValue, object newValue);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnSet(object key, object oldValue, object newValue) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /><Parameter Name="oldValue" Type="System.Object" /><Parameter Name="newValue" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method is intended to be overridden by a derived class to perform some action before the specified element is set.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs additional custom processes before setting a value in the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to locate. </param><param name="oldValue"><attribution license="cc4" from="Microsoft" modified="false" />The old value of the element associated with <paramref name="key" />. </param><param name="newValue"><attribution license="cc4" from="Microsoft" modified="false" />The new value of the element associated with <paramref name="key" />. </param></Docs></Member><Member MemberName="OnSetComplete"><MemberSignature Language="C#" Value="protected virtual void OnSetComplete (object key, object oldValue, object newValue);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnSetComplete(object key, object oldValue, object newValue) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /><Parameter Name="oldValue" Type="System.Object" /><Parameter Name="newValue" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method is intended to be overridden by a derived class to perform some action after the specified element is set.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs additional custom processes after setting a value in the <see cref="T:System.Collections.DictionaryBase" /> instance.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to locate. </param><param name="oldValue"><attribution license="cc4" from="Microsoft" modified="false" />The old value of the element associated with <paramref name="key" />. </param><param name="newValue"><attribution license="cc4" from="Microsoft" modified="false" />The new value of the element associated with <paramref name="key" />. </param></Docs></Member><Member MemberName="OnValidate"><MemberSignature Language="C#" Value="protected virtual void OnValidate (object key, object value);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnValidate(object key, object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default implementation of this method is intended to be overridden by a derived class to perform some action when the specified element is validated.</para><para>The On* methods are invoked only on the instance returned by the <see cref="P:System.Collections.DictionaryBase.Dictionary" /> property, but not on the instance returned by the <see cref="P:System.Collections.DictionaryBase.InnerHashtable" /> property.</para><para>The default implementation of this method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Performs additional custom processes when validating the element with the specified key and value.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to validate. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the element to validate. </param></Docs></Member><Member MemberName="System.Collections.ICollection.IsSynchronized"><MemberSignature Language="C#" Value="bool System.Collections.ICollection.IsSynchronized { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool System.Collections.ICollection.IsSynchronized" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.Collections.DictionaryBase" /> object is not synchronized. Derived classes can provide a synchronized version of the <see cref="T:System.Collections.DictionaryBase" /> class using the <see cref="P:System.Collections.ICollection.SyncRoot" /> property.</para><para>Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether access to a <see cref="T:System.Collections.DictionaryBase" /> object is synchronized (thread safe).</para></summary></Docs></Member><Member MemberName="System.Collections.ICollection.SyncRoot"><MemberSignature Language="C#" Value="object System.Collections.ICollection.SyncRoot { get; }" /><MemberSignature Language="ILAsm" Value=".property instance object System.Collections.ICollection.SyncRoot" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Derived classes can provide their own synchronized version of the <see cref="T:System.Collections.DictionaryBase" /> class using the <see cref="P:System.Collections.ICollection.SyncRoot" /> property. The synchronizing code must perform operations on the <see cref="P:System.Collections.ICollection.SyncRoot" /> property of the <see cref="T:System.Collections.DictionaryBase" /> object, not directly on the <see cref="T:System.Collections.DictionaryBase" /> object. This ensures proper operation of collections that are derived from other objects. Specifically, it maintains proper synchronization with other threads that might be simultaneously modifying the <see cref="T:System.Collections.DictionaryBase" /> object.</para><para>Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets an object that can be used to synchronize access to a <see cref="T:System.Collections.DictionaryBase" /> object.</para></summary></Docs></Member><Member MemberName="System.Collections.IDictionary.Add"><MemberSignature Language="C#" Value="void IDictionary.Add (object key, object value);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.IDictionary.Add(object key, object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>An object that has no correlation between its state and its hash code value should typically not be used as the key. For example, <see cref="T:System.String" /> objects are better than <see cref="T:System.Text.StringBuilder" /> objects for use as keys.</para><para>You can also use the <see cref="P:System.Collections.IDictionary.Item(System.Object)" /> property to add new elements by setting the value of a key that does not exist in the <see cref="T:System.Collections.DictionaryBase" />; for example, myCollection["myNonexistentKey"] = myValue. However, if the specified key already exists in the <see cref="T:System.Collections.DictionaryBase" />, setting the <see cref="P:System.Collections.IDictionary.Item(System.Object)" /> property overwrites the old value. In contrast, the <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)" /> method does not modify existing elements.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds an element with the specified key and value into the <see cref="T:System.Collections.DictionaryBase" />.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to add.</param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the element to add.</param></Docs></Member><Member MemberName="System.Collections.IDictionary.Contains"><MemberSignature Language="C#" Value="bool IDictionary.Contains (object key);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool System.Collections.IDictionary.Contains(object key) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method is an O(1) operation.</para><para>Starting with the .NET Framework 2.0, this method uses the collection’s objects’ <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods on <paramref name="key" /> to determine whether <paramref name="item" /> exists. In the earlier versions of the .NET Framework, this determination was made by using the <see cref="M:System.Object.Equals(System.Object)" /> and <see cref="M:System.IComparable.CompareTo(System.Object)" /> methods of the <paramref name="key" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether the <see cref="T:System.Collections.DictionaryBase" /> contains a specific key.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the <see cref="T:System.Collections.DictionaryBase" /> contains an element with the specified key; otherwise, false.</para></returns><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key to locate in the <see cref="T:System.Collections.DictionaryBase" />.</param></Docs></Member><Member MemberName="System.Collections.IDictionary.IsFixedSize"><MemberSignature Language="C#" Value="bool System.Collections.IDictionary.IsFixedSize { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool System.Collections.IDictionary.IsFixedSize" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A collection with a fixed size does not allow the addition or removal of elements after the collection is created, but does allow the modification of existing elements.</para><para>A collection with a fixed size is simply a collection with a wrapper that prevents adding and removing elements; therefore, if changes are made to the underlying collection, including the addition or removal of elements, the fixed-size collection reflects those changes.</para><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether a <see cref="T:System.Collections.DictionaryBase" /> object has a fixed size.</para></summary></Docs></Member><Member MemberName="System.Collections.IDictionary.IsReadOnly"><MemberSignature Language="C#" Value="bool System.Collections.IDictionary.IsReadOnly { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool System.Collections.IDictionary.IsReadOnly" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A collection that is read-only does not allow the addition, removal, or modification of elements after the collection is created.</para><para>A collection that is read-only is simply a collection with a wrapper that prevents modifying the collection; therefore, if changes are made to the underlying collection, the read-only collection reflects those changes.</para><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether a <see cref="T:System.Collections.DictionaryBase" /> object is read-only.</para></summary></Docs></Member><Member MemberName="System.Collections.IDictionary.Item"><MemberSignature Language="C#" Value="object System.Collections.IDictionary.Item[object key] { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance object System.Collections.IDictionary.Item(object)" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /></Parameters><Docs><param name="key">To be added.</param><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="System.Collections.IDictionary.Keys"><MemberSignature Language="C#" Value="System.Collections.ICollection System.Collections.IDictionary.Keys { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ICollection System.Collections.IDictionary.Keys" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.ICollection</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The order of the keys in the <see cref="T:System.Collections.ICollection" /> object is unspecified, but is the same order as the associated values in the <see cref="T:System.Collections.ICollection" /> object returned by the <see cref="P:System.Collections.IDictionary.Values" /> property.</para><para>The returned <see cref="T:System.Collections.ICollection" /> is not a static copy; instead, the <see cref="T:System.Collections.ICollection" /> refers back to the keys in the original <see cref="T:System.Collections.DictionaryBase" /> object. Therefore, changes to the <see cref="T:System.Collections.DictionaryBase" /> continue to be reflected in the returned <see cref="T:System.Collections.ICollection" />.</para><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets an <see cref="T:System.Collections.ICollection" /> object containing the keys in the <see cref="T:System.Collections.DictionaryBase" /> object.</para></summary></Docs></Member><Member MemberName="System.Collections.IDictionary.Remove"><MemberSignature Language="C#" Value="void IDictionary.Remove (object key);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.IDictionary.Remove(object key) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If the <see cref="T:System.Collections.DictionaryBase" /> does not contain an element with the specified key, the <see cref="T:System.Collections.DictionaryBase" /> remains unchanged. No exception is thrown.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes the element with the specified key from the <see cref="T:System.Collections.DictionaryBase" />.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to remove.</param></Docs></Member><Member MemberName="System.Collections.IDictionary.Values"><MemberSignature Language="C#" Value="System.Collections.ICollection System.Collections.IDictionary.Values { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ICollection System.Collections.IDictionary.Values" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.ICollection</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The order of the values in the <see cref="T:System.Collections.ICollection" /> object is unspecified, but is the same order as the associated keys in the <see cref="T:System.Collections.ICollection" /> object returned by the <see cref="P:System.Collections.IDictionary.Keys" /> property.</para><para>The returned <see cref="T:System.Collections.ICollection" /> is not a static copy; instead, the <see cref="T:System.Collections.ICollection" /> refers back to the values in the original <see cref="T:System.Collections.DictionaryBase" /> object. Therefore, changes to the <see cref="T:System.Collections.DictionaryBase" /> continue to be reflected in the returned <see cref="T:System.Collections.ICollection" />.</para><para>Retrieving the value of this property is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets an <see cref="T:System.Collections.ICollection" /> object containing the values in the <see cref="T:System.Collections.DictionaryBase" /> object.</para></summary></Docs></Member><Member MemberName="System.Collections.IEnumerable.GetEnumerator"><MemberSignature Language="C#" Value="System.Collections.IEnumerator IEnumerable.GetEnumerator ();" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.IEnumerator</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The foreach statement of the C# language (for each in Visual Basic) hides the complexity of the enumerators. Therefore, using foreach is recommended, instead of directly manipulating the enumerator.</para><para>Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.</para><para>Initially, the enumerator is positioned before the first element in the collection. <see cref="M:System.Collections.IEnumerator.Reset" /> also brings the enumerator back to this position. At this position, calling <see cref="P:System.Collections.IEnumerator.Current" /> throws an exception. Therefore, you must call <see cref="M:System.Collections.IEnumerator.MoveNext" /> to advance the enumerator to the first element of the collection before reading the value of <see cref="P:System.Collections.IEnumerator.Current" />.</para><para><see cref="P:System.Collections.IEnumerator.Current" /> returns the same object until either <see cref="M:System.Collections.IEnumerator.MoveNext" /> or <see cref="M:System.Collections.IEnumerator.Reset" /> is called. <see cref="M:System.Collections.IEnumerator.MoveNext" /> sets <see cref="P:System.Collections.IEnumerator.Current" /> to the next element.</para><para>If <see cref="M:System.Collections.IEnumerator.MoveNext" /> passes the end of the collection, the enumerator is positioned after the last element in the collection and <see cref="M:System.Collections.IEnumerator.MoveNext" /> returns false. When the enumerator is at this position, subsequent calls to <see cref="M:System.Collections.IEnumerator.MoveNext" /> also return false. If the last call to <see cref="M:System.Collections.IEnumerator.MoveNext" /> returned false, calling <see cref="P:System.Collections.IEnumerator.Current" /> throws an exception. To set <see cref="P:System.Collections.IEnumerator.Current" /> to the first element of the collection again, you can call <see cref="M:System.Collections.IEnumerator.Reset" /> followed by <see cref="M:System.Collections.IEnumerator.MoveNext" />.</para><para>An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated and the next call to <see cref="M:System.Collections.IEnumerator.MoveNext" /> or <see cref="M:System.Collections.IEnumerator.Reset" /> throws an <see cref="T:System.InvalidOperationException" />. If the collection is modified between <see cref="M:System.Collections.IEnumerator.MoveNext" /> and <see cref="P:System.Collections.IEnumerator.Current" />, <see cref="P:System.Collections.IEnumerator.Current" /> returns the element that it is set to, even if the enumerator is already invalidated.</para><para>The enumerator does not have exclusive access to the collection; therefore, enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an <see cref="T:System.Collections.IEnumerator" /> that iterates through the <see cref="T:System.Collections.DictionaryBase" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:System.Collections.DictionaryBase" />.</para></returns></Docs></Member></Members></Type>