﻿<?xml version="1.0" encoding="utf-8"?><Type Name="SortedList" FullName="System.Collections.SortedList"><TypeSignature Maintainer="auto" Language="C#" Value="public class SortedList : ICloneable, System.Collections.IDictionary" /><TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit SortedList extends System.Object implements class System.Collections.ICollection, class System.Collections.IDictionary, class System.Collections.IEnumerable, class System.ICloneable" /><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><Interface><InterfaceName>System.ICloneable</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>System.Diagnostics.DebuggerDisplay("Count={Count}")</AttributeName></Attribute><Attribute><AttributeName>System.Diagnostics.DebuggerTypeProxy(typeof(System.Collections.CollectionDebuggerView))</AttributeName></Attribute><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For the generic version of this collection, see <see cref="T:System.Collections.Generic.SortedList`2" />.</para><para>A <see cref="T:System.Collections.SortedList" /> element can be accessed by its key, like an element in any <see cref="T:System.Collections.IDictionary" /> implementation, or by its index, like an element in any <see cref="T:System.Collections.IList" /> implementation.</para><para>A <see cref="T:System.Collections.SortedList" /> object internally maintains two arrays to store the elements of the list; that is, one array for the keys and another array for the associated values. Each element is a key/value pair that can be accessed as a <see cref="T:System.Collections.DictionaryEntry" /> object. A key cannot be null, but a value can be.</para><para>The capacity of a <see cref="T:System.Collections.SortedList" /> object is the number of elements the <see cref="T:System.Collections.SortedList" /> can hold. As elements are added to a <see cref="T:System.Collections.SortedList" />, the capacity is automatically increased as required through reallocation. The capacity can be decreased by calling <see cref="M:System.Collections.SortedList.TrimToSize" /> or by setting the <see cref="P:System.Collections.SortedList.Capacity" /> property explicitly.</para><para>For very large <see cref="T:System.Collections.SortedList" /> objects, you can increase the maximum capacity to 2 billion elements on a 64-bit system by setting the enabled attribute of the <format type="text/html"><a href="5c7ea24a-39ac-4e5f-83b7-b9f9a1b556ab">gcAllowVeryLargeObjects</a></format> configuration element to true in the run-time environment.</para><para>The elements of a <see cref="T:System.Collections.SortedList" /> object are sorted by the keys either according to a specific <see cref="T:System.Collections.IComparer" /> implementation specified when the <see cref="T:System.Collections.SortedList" /> is created or according to the <see cref="T:System.IComparable" /> implementation provided by the keys themselves. In either case, a <see cref="T:System.Collections.SortedList" /> does not allow duplicate keys.</para><para>The index sequence is based on the sort sequence. When an element is added, it is inserted into <see cref="T:System.Collections.SortedList" /> in the correct sort order, and the indexing adjusts accordingly. When an element is removed, the indexing also adjusts accordingly. Therefore, the index of a specific key/value pair might change as elements are added or removed from the <see cref="T:System.Collections.SortedList" /> object.</para><para>Operations on a <see cref="T:System.Collections.SortedList" /> object tend to be slower than operations on a <see cref="T:System.Collections.Hashtable" /> object because of the sorting. However, the <see cref="T:System.Collections.SortedList" /> offers more flexibility by allowing access to the values either through the associated keys or through the indexes.</para><para>Elements in this collection can be accessed using an integer index.  Indexes in this collection are zero-based.</para><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.SortedList" /> object is a key/value pair, the element type is not the type of the key or the type of the value. Rather, the element type is <see cref="T:System.Collections.DictionaryEntry" />. For example: </para><para>code reference: Classic SortedList Example#2</para><para>The foreach statement is a wrapper around the enumerator, which allows only reading from, not writing to, the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public SortedList ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig 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>Each key must implement the <see cref="T:System.IComparable" /> interface to be capable of comparisons with every other key in the <see cref="T:System.Collections.SortedList" /> object. The elements are sorted according to the <see cref="T:System.IComparable" /> implementation of each key added to the <see cref="T:System.Collections.SortedList" />.</para><para>The capacity of a <see cref="T:System.Collections.SortedList" /> object is the number of elements that the <see cref="T:System.Collections.SortedList" /> can hold. As elements are added to a <see cref="T:System.Collections.SortedList" />, the capacity is automatically increased as required by reallocating the internal array.</para><para>If the size of the collection can be estimated, specifying the initial capacity eliminates the need to perform a number of resizing operations while adding elements to the <see cref="T:System.Collections.SortedList" /> object.</para><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.SortedList" /> class that is empty, has the default initial capacity, and is sorted according to the <see cref="T:System.IComparable" /> interface implemented by each key added to the <see cref="T:System.Collections.SortedList" /> object.</para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public SortedList (System.Collections.IComparer comparer);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.IComparer comparer) 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><Parameter Name="comparer" Type="System.Collections.IComparer" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The elements are sorted according to the specified <see cref="T:System.Collections.IComparer" /> implementation. If the <paramref name="comparer" /> parameter is null, the <see cref="T:System.IComparable" /> implementation of each key is used; therefore, each key must implement the <see cref="T:System.IComparable" /> interface to be capable of comparisons with every other key in the <see cref="T:System.Collections.SortedList" /> object.</para><para>The capacity of a <see cref="T:System.Collections.SortedList" /> object is the number of elements that the <see cref="T:System.Collections.SortedList" /> can hold. As elements are added to a <see cref="T:System.Collections.SortedList" />, the capacity is automatically increased as required by reallocating the internal array.</para><para>If the size of the collection can be estimated, specifying the initial capacity eliminates the need to perform a number of resizing operations while adding elements to the <see cref="T:System.Collections.SortedList" /> object.</para><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.SortedList" /> class that is empty, has the default initial capacity, and is sorted according to the specified <see cref="T:System.Collections.IComparer" /> interface.</para></summary><param name="comparer"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing keys.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public SortedList (System.Collections.IDictionary d);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.IDictionary d) 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><Parameter Name="d" Type="System.Collections.IDictionary" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Each key must implement the <see cref="T:System.IComparable" /> interface to be capable of comparisons with every other key in the <see cref="T:System.Collections.SortedList" /> object. The elements are sorted according to the <see cref="T:System.IComparable" /> implementation of each key added to the <see cref="T:System.Collections.SortedList" />.</para><para>A <see cref="T:System.Collections.Hashtable" /> object is an example of an <see cref="T:System.Collections.IDictionary" /> implementation that can be passed to this constructor. The new <see cref="T:System.Collections.SortedList" /> object contains a copy of the keys and values stored in the <see cref="T:System.Collections.Hashtable" />.</para><para>The capacity of a <see cref="T:System.Collections.SortedList" /> object is the number of elements that the <see cref="T:System.Collections.SortedList" /> can hold. As elements are added to a <see cref="T:System.Collections.SortedList" />, the capacity is automatically increased as required by reallocating the internal array.</para><para>If the size of the collection can be estimated, specifying the initial capacity eliminates the need to perform a number of resizing operations while adding elements to the <see cref="T:System.Collections.SortedList" /> object.</para><para>This constructor is an O(<paramref name="n" />) operation, where <paramref name="n" /> is the number of elements in <paramref name="d" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Collections.SortedList" /> class that contains elements copied from the specified dictionary, has the same initial capacity as the number of elements copied, and is sorted according to the <see cref="T:System.IComparable" /> interface implemented by each key.</para></summary><param name="d"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IDictionary" /> implementation to copy to a new <see cref="T:System.Collections.SortedList" /> object.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public SortedList (int initialCapacity);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 initialCapacity) 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><Parameter Name="initialCapacity" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Each key must implement the <see cref="T:System.IComparable" /> interface to be capable of comparisons with every other key in the <see cref="T:System.Collections.SortedList" /> object. The elements are sorted according to the <see cref="T:System.IComparable" /> implementation of each key added to the <see cref="T:System.Collections.SortedList" />.</para><para>The capacity of a <see cref="T:System.Collections.SortedList" /> object is the number of elements that the <see cref="T:System.Collections.SortedList" /> can hold. As elements are added to a <see cref="T:System.Collections.SortedList" />, the capacity is automatically increased as required by reallocating the internal array.</para><para>If the size of the collection can be estimated, specifying the initial capacity eliminates the need to perform a number of resizing operations while adding elements to the <see cref="T:System.Collections.SortedList" /> object.</para><para>This constructor is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="initialCapacity" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Collections.SortedList" /> class that is empty, has the specified initial capacity, and is sorted according to the <see cref="T:System.IComparable" /> interface implemented by each key added to the <see cref="T:System.Collections.SortedList" /> object.</para></summary><param name="initialCapacity"><attribution license="cc4" from="Microsoft" modified="false" />The initial number of elements that the <see cref="T:System.Collections.SortedList" /> object can contain. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public SortedList (System.Collections.IComparer comparer, int capacity);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.IComparer comparer, int32 capacity) 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><Parameter Name="comparer" Type="System.Collections.IComparer" /><Parameter Name="capacity" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The elements are sorted according to the specified <see cref="T:System.Collections.IComparer" /> implementation. If the <paramref name="comparer" /> parameter is null, the <see cref="T:System.IComparable" /> implementation of each key is used; therefore, each key must implement the <see cref="T:System.IComparable" /> interface to be capable of comparisons with every other key in the <see cref="T:System.Collections.SortedList" /> object.</para><para>The capacity of a <see cref="T:System.Collections.SortedList" /> object is the number of elements that the <see cref="T:System.Collections.SortedList" /> can hold. As elements are added to a <see cref="T:System.Collections.SortedList" />, the capacity is automatically increased as required by reallocating the internal array.</para><para>If the size of the collection can be estimated, specifying the initial capacity eliminates the need to perform a number of resizing operations while adding elements to the <see cref="T:System.Collections.SortedList" /> object.</para><para>This constructor is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <paramref name="capacity" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Collections.SortedList" /> class that is empty, has the specified initial capacity, and is sorted according to the specified <see cref="T:System.Collections.IComparer" /> interface.</para></summary><param name="comparer"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing keys.</param><param name="capacity"><attribution license="cc4" from="Microsoft" modified="false" />The initial number of elements that the <see cref="T:System.Collections.SortedList" /> object can contain. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public SortedList (System.Collections.IDictionary d, System.Collections.IComparer comparer);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.IDictionary d, class System.Collections.IComparer comparer) 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><Parameter Name="d" Type="System.Collections.IDictionary" /><Parameter Name="comparer" Type="System.Collections.IComparer" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The elements are sorted according to the specified <see cref="T:System.Collections.IComparer" /> implementation. If the <paramref name="comparer" /> parameter is null, the <see cref="T:System.IComparable" /> implementation of each key is used; therefore, each key must implement the <see cref="T:System.IComparable" /> interface to be capable of comparisons with every other key in the <see cref="T:System.Collections.SortedList" /> object.</para><para>A <see cref="T:System.Collections.Hashtable" /> object is an example of an <see cref="T:System.Collections.IDictionary" /> implementation that can be passed to this constructor. The new <see cref="T:System.Collections.SortedList" /> object contains a copy of the keys and values stored in the <see cref="T:System.Collections.Hashtable" />.</para><para>The capacity of a <see cref="T:System.Collections.SortedList" /> object is the number of elements that the <see cref="T:System.Collections.SortedList" /> can hold. As elements are added to a <see cref="T:System.Collections.SortedList" />, the capacity is automatically increased as required by reallocating the internal array.</para><para>If the size of the collection can be estimated, specifying the initial capacity eliminates the need to perform a number of resizing operations while adding elements to the <see cref="T:System.Collections.SortedList" /> object.</para><para>This constructor is an O(<paramref name="n" />) operation, where <paramref name="n" /> is the number of elements in <paramref name="d" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Collections.SortedList" /> class that contains elements copied from the specified dictionary, has the same initial capacity as the number of elements copied, and is sorted according to the specified <see cref="T:System.Collections.IComparer" /> interface.</para></summary><param name="d"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IDictionary" /> implementation to copy to a new <see cref="T:System.Collections.SortedList" /> object.</param><param name="comparer"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IComparer" /> implementation to use when comparing keys.</param></Docs></Member><Member MemberName="Add"><MemberSignature Language="C#" Value="public virtual void Add (object key, object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void 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>The insertion point is determined based on the comparer selected, either explicitly or by default, when the <see cref="T:System.Collections.SortedList" /> object was created.</para><para>If <see cref="P:System.Collections.SortedList.Count" /> already equals <see cref="P:System.Collections.SortedList.Capacity" />, the capacity of the <see cref="T:System.Collections.SortedList" /> object is increased by automatically reallocating the internal array, and the existing elements are copied to the new array before the new element is added.</para><para>You can also use the <see cref="P:System.Collections.SortedList.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.SortedList" /> object (for example, myCollection["myNonexistentKey"] = myValue). However, if the specified key already exists in the <see cref="T:System.Collections.SortedList" />, setting the <see cref="P:System.Collections.SortedList.Item(System.Object)" /> property overwrites the old value. In contrast, the <see cref="M:System.Collections.SortedList.Add(System.Object,System.Object)" /> method does not modify existing elements.</para><para>The elements of a <see cref="T:System.Collections.SortedList" /> object are sorted by the keys either according to a specific <see cref="T:System.Collections.IComparer" /> implementation specified when the <see cref="T:System.Collections.SortedList" /> is created or according to the <see cref="T:System.IComparable" /> implementation provided by the keys themselves.</para><para>A key cannot be null, but a value can be.</para><para>This method is an O(<paramref name="n" />) operation for unsorted data, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />. It is an O(log <paramref name="n" />) operation if the new element is added at the end of the list. If insertion causes a resize, the operation is O(<paramref name="n" />).</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds an element with the specified key and value to a <see cref="T:System.Collections.SortedList" /> object.</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. The value can be null. </param></Docs></Member><Member MemberName="Capacity"><MemberSignature Language="C#" Value="public virtual int Capacity { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 Capacity" /><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><Parameters></Parameters><Docs><value>To be added: an object of type 'int'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="P:System.Collections.SortedList.Capacity" /> is the number of elements that the <see cref="T:System.Collections.SortedList" /> object can store. <see cref="P:System.Collections.SortedList.Count" /> is the number of elements that are actually in the <see cref="T:System.Collections.SortedList" />.</para><para><see cref="P:System.Collections.SortedList.Capacity" /> is always greater than or equal to <see cref="P:System.Collections.SortedList.Count" />. If <see cref="P:System.Collections.SortedList.Count" /> exceeds <see cref="P:System.Collections.SortedList.Capacity" /> while adding elements, the capacity is automatically increased by reallocating the internal array before copying the old elements and adding the new elements.</para><para>The capacity can be decreased by calling <see cref="M:System.Collections.SortedList.TrimToSize" /> or by setting the <see cref="P:System.Collections.SortedList.Capacity" /> property explicitly. When the value of <see cref="P:System.Collections.SortedList.Capacity" /> is set explicitly, the internal array is also reallocated to accommodate the specified capacity.</para><para>Retrieving the value of this property is an O(1) operation; setting the property is an O(<paramref name="n" />) operation, where <paramref name="n" /> is the new capacity.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the capacity of a <see cref="T:System.Collections.SortedList" /> object.</para></summary></Docs></Member><Member MemberName="Clear"><MemberSignature Language="C#" Value="public virtual 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.SortedList.Count" /> is set to zero and references to other objects from elements of the collection are also released.</para><para><see cref="P:System.Collections.SortedList.Capacity" /> remains unchanged. To reset the capacity of the <see cref="T:System.Collections.SortedList" /> object, call <see cref="M:System.Collections.SortedList.TrimToSize" /> or set the <see cref="P:System.Collections.SortedList.Capacity" /> property directly. Trimming an empty <see cref="T:System.Collections.SortedList" /> sets the capacity of the <see cref="T:System.Collections.SortedList" /> to the default capacity.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all elements from a <see cref="T:System.Collections.SortedList" /> object.</para></summary></Docs></Member><Member MemberName="Clone"><MemberSignature Language="C#" Value="public virtual object Clone ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object Clone() 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 /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A shallow copy of a collection copies only the elements of the collection, whether they are reference types or value types, but does not copy the objects that the references refer to. The references in the new collection point to the same objects that the references in the original collection point to.</para><para>In contrast, a deep copy of a collection copies the elements and everything directly or indirectly referenced by the elements.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates a shallow copy of a <see cref="T:System.Collections.SortedList" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A shallow copy of the <see cref="T:System.Collections.SortedList" /> object.</para></returns></Docs></Member><Member MemberName="Contains"><MemberSignature Language="C#" Value="public virtual bool Contains (object key);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool 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>The elements of a <see cref="T:System.Collections.SortedList" /> object are sorted by the keys either according to a specific <see cref="T:System.Collections.IComparer" /> implementation specified when the <see cref="T:System.Collections.SortedList" /> is created or according to the <see cref="T:System.IComparable" /> implementation provided by the keys themselves.</para><para><see cref="M:System.Collections.SortedList.Contains(System.Object)" /> implements <see cref="M:System.Collections.IDictionary.Contains(System.Object)" />. It behaves exactly as <see cref="M:System.Collections.SortedList.ContainsKey(System.Object)" />.</para><para>This method uses a binary search algorithm; therefore, this method is an O(log <paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</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="item" /> to determine whether 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="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether a <see cref="T:System.Collections.SortedList" /> object contains a specific key.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the <see cref="T:System.Collections.SortedList" /> object contains an element with the specified <paramref name="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.SortedList" /> object. </param></Docs></Member><Member MemberName="ContainsKey"><MemberSignature Language="C#" Value="public virtual bool ContainsKey (object key);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool ContainsKey(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>The elements of a <see cref="T:System.Collections.SortedList" /> object are sorted by the keys either according to a specific <see cref="T:System.Collections.IComparer" /> implementation specified when the <see cref="T:System.Collections.SortedList" /> is created or according to the <see cref="T:System.IComparable" /> implementation provided by the keys themselves.</para><para>This method behaves exactly as the <see cref="M:System.Collections.SortedList.Contains(System.Object)" /> method.</para><para>This method uses a binary search algorithm; therefore, this method is an O(log <paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</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="item" /> to determine whether 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="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether a <see cref="T:System.Collections.SortedList" /> object contains a specific key.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the <see cref="T:System.Collections.SortedList" /> object contains an element with the specified <paramref name="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.SortedList" /> object.</param></Docs></Member><Member MemberName="ContainsValue"><MemberSignature Language="C#" Value="public virtual bool ContainsValue (object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool ContainsValue(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.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The values of the elements of the <see cref="T:System.Collections.SortedList" /> object are compared to the specified value using the <see cref="M:System.Object.Equals(System.Object)" /> method.</para><para>This method performs a linear search; therefore, the average execution time is proportional to <see cref="P:System.Collections.SortedList.Count" />. That is, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</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="item" /> to determine whether 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="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether a <see cref="T:System.Collections.SortedList" /> object contains a specific value.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the <see cref="T:System.Collections.SortedList" /> object contains an element with the specified <paramref name="value" />; otherwise, false.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value to locate in the <see cref="T:System.Collections.SortedList" /> object. The value can be null. </param></Docs></Member><Member MemberName="CopyTo"><MemberSignature Language="C#" Value="public virtual void CopyTo (Array array, int arrayIndex);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CopyTo(class System.Array array, int32 arrayIndex) 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="arrayIndex" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The key/value pairs are copied to the <see cref="T:System.Array" /> object in the same order in which the enumerator iterates through the <see cref="T:System.Collections.SortedList" /> object.</para><para>To copy only the keys in the <see cref="T:System.Collections.SortedList" />, use SortedList.Keys.CopyTo.</para><para>To copy only the values in the <see cref="T:System.Collections.SortedList" />, use SortedList.Values.CopyTo.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies <see cref="T:System.Collections.SortedList" /> elements to a one-dimensional <see cref="T:System.Array" /> object, starting at the specified index in the array.</para></summary><param name="array"><attribution license="cc4" from="Microsoft" modified="false" />The one-dimensional <see cref="T:System.Array" /> object that is the destination of the <see cref="T:System.Collections.DictionaryEntry" /> objects copied from <see cref="T:System.Collections.SortedList" />. The <see cref="T:System.Array" /> must have zero-based indexing. </param><param name="arrayIndex"><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 virtual 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>Each element is a key/value pair that can be accessed as a <see cref="T:System.Collections.DictionaryEntry" /> object.</para><para><see cref="P:System.Collections.SortedList.Capacity" /> is the number of elements that the <see cref="T:System.Collections.SortedList" /> object can store. <see cref="P:System.Collections.SortedList.Count" /> is the number of elements that are actually in the <see cref="T:System.Collections.SortedList" />.</para><para><see cref="P:System.Collections.SortedList.Capacity" /> is always greater than or equal to <see cref="P:System.Collections.SortedList.Count" />. If <see cref="P:System.Collections.SortedList.Count" /> exceeds <see cref="P:System.Collections.SortedList.Capacity" /> while adding elements, the capacity is automatically increased by reallocating the internal array before copying the old elements and adding the new elements.</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 number of elements contained in a <see cref="T:System.Collections.SortedList" /> object.</para></summary></Docs></Member><Member MemberName="GetByIndex"><MemberSignature Language="C#" Value="public virtual object GetByIndex (int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object GetByIndex(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.Object</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The index sequence is based on the sort sequence. When an element is added, it is inserted into <see cref="T:System.Collections.SortedList" /> in the correct sort order, and the indexing adjusts accordingly. When an element is removed, the indexing also adjusts accordingly. Therefore, the index of a specific key/value pair might change as elements are added or removed from the <see cref="T:System.Collections.SortedList" /> object.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the value at the specified index of a <see cref="T:System.Collections.SortedList" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The value at the specified index of the <see cref="T:System.Collections.SortedList" /> object.</para></returns><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index of the value to get. </param></Docs></Member><Member MemberName="GetEnumerator"><MemberSignature Language="C#" Value="public virtual 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" /> object that iterates through a <see cref="T:System.Collections.SortedList" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the <see cref="T:System.Collections.SortedList" /> object.</para></returns></Docs></Member><Member MemberName="GetKey"><MemberSignature Language="C#" Value="public virtual object GetKey (int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object GetKey(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.Object</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The index sequence is based on the sort sequence. When an element is added, it is inserted into <see cref="T:System.Collections.SortedList" /> in the correct sort order, and the indexing adjusts accordingly. When an element is removed, the indexing also adjusts accordingly. Therefore, the index of a specific key/value pair might change as elements are added or removed from the <see cref="T:System.Collections.SortedList" /> object.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the key at the specified index of a <see cref="T:System.Collections.SortedList" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The key at the specified index of the <see cref="T:System.Collections.SortedList" /> object.</para></returns><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index of the key to get. </param></Docs></Member><Member MemberName="GetKeyList"><MemberSignature Language="C#" Value="public virtual System.Collections.IList GetKeyList ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.IList GetKeyList() 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.IList</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The returned <see cref="T:System.Collections.IList" /> object is a read-only view of the keys of the <see cref="T:System.Collections.SortedList" /> object. Modifications made to the underlying <see cref="T:System.Collections.SortedList" /> are immediately reflected in the <see cref="T:System.Collections.IList" />.</para><para>The elements of the returned <see cref="T:System.Collections.IList" /> are sorted in the same order as the keys of the <see cref="T:System.Collections.SortedList" />.</para><para>This method is similar to the <see cref="P:System.Collections.SortedList.Keys" /> property, but returns an <see cref="T:System.Collections.IList" /> object instead of an <see cref="T:System.Collections.ICollection" /> object.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the keys in a <see cref="T:System.Collections.SortedList" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IList" /> object containing the keys in the <see cref="T:System.Collections.SortedList" /> object.</para></returns></Docs></Member><Member MemberName="GetValueList"><MemberSignature Language="C#" Value="public virtual System.Collections.IList GetValueList ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.IList GetValueList() 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.IList</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The returned <see cref="T:System.Collections.IList" /> object is a read-only view of the values of the <see cref="T:System.Collections.SortedList" /> object. Modifications made to the underlying <see cref="T:System.Collections.SortedList" /> are immediately reflected in the <see cref="T:System.Collections.IList" />.</para><para>The elements of the returned <see cref="T:System.Collections.IList" /> are sorted in the same order as the values of the <see cref="T:System.Collections.SortedList" />.</para><para>This method is similar to the <see cref="P:System.Collections.SortedList.Values" /> property, but returns an <see cref="T:System.Collections.IList" /> object instead of an <see cref="T:System.Collections.ICollection" /> object.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the values in a <see cref="T:System.Collections.SortedList" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Collections.IList" /> object containing the values in the <see cref="T:System.Collections.SortedList" /> object.</para></returns></Docs></Member><Member MemberName="IndexOfKey"><MemberSignature Language="C#" Value="public virtual int IndexOfKey (object key);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 IndexOfKey(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.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="key" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The elements of a <see cref="T:System.Collections.SortedList" /> object are sorted by the keys either according to a specific <see cref="T:System.Collections.IComparer" /> implementation specified when the <see cref="T:System.Collections.SortedList" /> is created, or according to the <see cref="T:System.IComparable" /> implementation provided by the keys themselves.</para><para>The index sequence is based on the sort sequence. When an element is added, it is inserted into <see cref="T:System.Collections.SortedList" /> in the correct sort order, and the indexing adjusts accordingly. When an element is removed, the indexing also adjusts accordingly. Therefore, the index of a specific key/value pair might change as elements are added or removed from the <see cref="T:System.Collections.SortedList" />.</para><para>This method uses a binary search algorithm; therefore, this method is an O(log <paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</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="item" /> to determine whether 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="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the zero-based index of the specified key in a <see cref="T:System.Collections.SortedList" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of the <paramref name="key" /> parameter, if <paramref name="key" /> is found in the <see cref="T:System.Collections.SortedList" /> object; otherwise, -1.</para></returns><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key to locate in the <see cref="T:System.Collections.SortedList" /> object. </param></Docs></Member><Member MemberName="IndexOfValue"><MemberSignature Language="C#" Value="public virtual int IndexOfValue (object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 IndexOfValue(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.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The index sequence is based on the sort sequence. When an element is added, it is inserted into <see cref="T:System.Collections.SortedList" /> in the correct sort order, and the indexing adjusts accordingly. When an element is removed, the indexing also adjusts accordingly. Therefore, the index of a specific key/value pair might change as elements are added or removed from the <see cref="T:System.Collections.SortedList" /> object.</para><para>The values of the elements of the <see cref="T:System.Collections.SortedList" /> are compared to the specified value using the <see cref="M:System.Object.Equals(System.Object)" /> method.</para><para>This method uses a linear search; therefore, this method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</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="item" /> to determine whether 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="item" /> parameter on the objects in the collection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the zero-based index of the first occurrence of the specified value in a <see cref="T:System.Collections.SortedList" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index of the first occurrence of the <paramref name="value" /> parameter, if <paramref name="value" /> is found in the <see cref="T:System.Collections.SortedList" /> object; otherwise, -1.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value to locate in the <see cref="T:System.Collections.SortedList" /> object. The value can be null. </param></Docs></Member><Member MemberName="IsFixedSize"><MemberSignature Language="C#" Value="public virtual bool IsFixedSize { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool 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: an object of type 'bool'</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.SortedList" /> object has a fixed size.</para></summary></Docs></Member><Member MemberName="IsReadOnly"><MemberSignature Language="C#" Value="public virtual bool IsReadOnly { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool 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: an object of type 'bool'</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.SortedList" /> object is read-only.</para></summary></Docs></Member><Member MemberName="IsSynchronized"><MemberSignature Language="C#" Value="public virtual bool IsSynchronized { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool 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: an object of type 'bool'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To guarantee the thread safety of a <see cref="T:System.Collections.SortedList" /> object, all operations must be done through the wrapper returned by the <see cref="M:System.Collections.SortedList.Synchronized(System.Collections.SortedList)" /> method.</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.SortedList" /> object is synchronized (thread safe).</para></summary></Docs></Member><Member MemberName="Item"><MemberSignature Language="C#" Value="public virtual object this[object key] { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance object 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: an object of type 'object'</param><summary>To be added</summary><value>To be added: an object of type 'object'</value><remarks>To be added</remarks></Docs></Member><Member MemberName="Keys"><MemberSignature Language="C#" Value="public virtual System.Collections.ICollection Keys { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ICollection 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: an object of type 'ICollection'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ICollection" /> object is a read-only view of the keys of the <see cref="T:System.Collections.SortedList" /> object. Modifications made to the underlying <see cref="T:System.Collections.SortedList" /> are immediately reflected in the <see cref="T:System.Collections.ICollection" />.</para><para>The elements of the <see cref="T:System.Collections.ICollection" /> are sorted in the same order as the keys of the <see cref="T:System.Collections.SortedList" />.</para><para>This property is similar to the <see cref="M:System.Collections.SortedList.GetKeyList" /> method, but returns an <see cref="T:System.Collections.ICollection" /> object instead of an <see cref="T:System.Collections.IList" /> object.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the keys in a <see cref="T:System.Collections.SortedList" /> object.</para></summary></Docs></Member><Member MemberName="Remove"><MemberSignature Language="C#" Value="public virtual void Remove (object key);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void 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.SortedList" /> object does not contain an element with the specified key, the <see cref="T:System.Collections.SortedList" /> remains unchanged. No exception is thrown.</para><para>In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes the element with the specified key from a <see cref="T:System.Collections.SortedList" /> object.</para></summary><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The key of the element to remove. </param></Docs></Member><Member MemberName="RemoveAt"><MemberSignature Language="C#" Value="public virtual void RemoveAt (int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoveAt(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="index" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The index sequence is based on the sort sequence. When an element is added, it is inserted into <see cref="T:System.Collections.SortedList" /> in the correct sort order, and the indexing adjusts accordingly. When an element is removed, the indexing also adjusts accordingly. Therefore, the index of a specific key/value pair might change as elements are added or removed from the <see cref="T:System.Collections.SortedList" /> object.</para><para>In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes the element at the specified index of a <see cref="T:System.Collections.SortedList" /> object.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index of the element to remove. </param></Docs></Member><Member MemberName="SetByIndex"><MemberSignature Language="C#" Value="public virtual void SetByIndex (int index, object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetByIndex(int32 index, 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="index" Type="System.Int32" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The index sequence is based on the sort sequence. When an element is added, it is inserted into <see cref="T:System.Collections.SortedList" /> in the correct sort order, and the indexing adjusts accordingly. When an element is removed, the indexing also adjusts accordingly. Therefore, the index of a specific key/value pair might change as elements are added or removed from the <see cref="T:System.Collections.SortedList" /> object.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Replaces the value at a specific index in a <see cref="T:System.Collections.SortedList" /> object.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index at which to save <paramref name="value" />. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> to save into the <see cref="T:System.Collections.SortedList" /> object. The value can be null. </param></Docs></Member><Member MemberName="Synchronized"><MemberSignature Language="C#" Value="public static System.Collections.SortedList Synchronized (System.Collections.SortedList list);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.SortedList Synchronized(class System.Collections.SortedList list) 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.SortedList</ReturnType></ReturnValue><Parameters><Parameter Name="list" Type="System.Collections.SortedList" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To guarantee the thread safety of a <see cref="T:System.Collections.SortedList" /> object, all operations must be done through this wrapper only.</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>Returns a synchronized (thread-safe) wrapper for a <see cref="T:System.Collections.SortedList" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A synchronized (thread-safe) wrapper for the <see cref="T:System.Collections.SortedList" /> object.</para></returns><param name="list"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.SortedList" /> object to synchronize. </param></Docs></Member><Member MemberName="SyncRoot"><MemberSignature Language="C#" Value="public virtual object SyncRoot { get; }" /><MemberSignature Language="ILAsm" Value=".property instance object 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: an object of type 'object'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To create a synchronized version of the <see cref="T:System.Collections.SortedList" /> object, use the <see cref="M:System.Collections.SortedList.Synchronized(System.Collections.SortedList)" /> method. However, derived classes can provide their own synchronized version of the <see cref="T:System.Collections.SortedList" /> using the <see cref="P:System.Collections.SortedList.SyncRoot" /> property. The synchronizing code must perform operations on the <see cref="P:System.Collections.SortedList.SyncRoot" /> of the <see cref="T:System.Collections.SortedList" />, not directly on the <see cref="T:System.Collections.SortedList" />. 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.SortedList" /> 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.SortedList" /> 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>[Visual Basic, C#]</para><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.SortedList" />.</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.SortedList" />.</para></returns></Docs></Member><Member MemberName="TrimToSize"><MemberSignature Language="C#" Value="public virtual void TrimToSize ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void TrimToSize() 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>This method can be used to minimize a collection's memory overhead if no new elements will be added to the collection.</para><para>To reset a <see cref="T:System.Collections.SortedList" /> object to its initial state, call the <see cref="M:System.Collections.SortedList.Clear" /> method before calling <see cref="M:System.Collections.SortedList.TrimToSize" />. Trimming an empty <see cref="T:System.Collections.SortedList" /> sets the capacity of the <see cref="T:System.Collections.SortedList" /> to the default capacity.</para><para>This method is an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.SortedList.Count" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sets the capacity to the actual number of elements in a <see cref="T:System.Collections.SortedList" /> object.</para></summary></Docs></Member><Member MemberName="Values"><MemberSignature Language="C#" Value="public virtual System.Collections.ICollection Values { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ICollection 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: an object of type 'ICollection'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Collections.ICollection" /> object is a read-only view of the values of the <see cref="T:System.Collections.SortedList" /> object. Modifications made to the underlying <see cref="T:System.Collections.SortedList" /> are immediately reflected in the <see cref="T:System.Collections.ICollection" />.</para><para>The elements of the <see cref="T:System.Collections.ICollection" /> are sorted in the same order as the values of the <see cref="T:System.Collections.SortedList" />.</para><para>This property is similar to the <see cref="M:System.Collections.SortedList.GetValueList" /> method, but returns an <see cref="T:System.Collections.ICollection" /> object instead of an <see cref="T:System.Collections.IList" /> object.</para><para>This method is an O(1) operation.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the values in a <see cref="T:System.Collections.SortedList" /> object.</para></summary></Docs></Member></Members></Type>