System.Collections.Specialized.OrderedDictionary.this C# (CSharp) Method

this() public method

public this ( object key ) : object
key object
return object
        public object this[object key]
        {
            get
            {
                return objectsTable[key];
            }
            set
            {
                if (_readOnly)
                {
                    throw new NotSupportedException(SR.OrderedDictionary_ReadOnly);
                }
                if (objectsTable.Contains(key))
                {
                    objectsTable[key] = value;
                    objectsArray[IndexOfKey(key)] = new DictionaryEntry(key, value);
                }
                else
                {
                    Add(key, value);
                }
            }
        }

Same methods

OrderedDictionary::this ( int index ) : object