class ListDictionary

in global :: System . Collections . Specialized

Implements using a singly linked list. Recommended for collections that typically include fewer than 10 items.


public ListDictionary( IComparer comparer )

Creates an empty using the specified comparer.

  • comparer The to use to determine whether two keys are equal. -or- to use the default comparer, which is each key's implementation of .

public void Add( object key, object value )

Adds an entry with the specified key and value into the .

  • key The key of the entry to add.
  • value The value of the entry to add. The value can be .

public bool Contains( object key )

Determines whether the contains a specific key.

  • key The key to locate in the .
  • Returns if the contains an entry with the specified key; otherwise, .

public void CopyTo( Array array, int index )

Copies the entries to a one-dimensional instance at the specified index.

  • array The one-dimensional that is the destination of the objects copied from . The must have zero-based indexing.
  • index The zero-based index in at which copying begins.

public int Count { get; }

Gets the number of key/value pairs contained in the .

  • Returns The number of key/value pairs contained in the .

public bool IsFixedSize { get; }

Gets a value indicating whether the has a fixed size.

  • Returns This property always returns .

public bool IsReadOnly { get; }

Gets a value indicating whether the is read-only.

  • Returns This property always returns .

public bool IsSynchronized { get; }

Gets a value indicating whether the is synchronized (thread safe).

  • Returns This property always returns .

public ICollection Keys { get; }

Gets an containing the keys in the .

  • Returns An containing the keys in the .

public void Remove( object key )

Removes the entry with the specified key from the .

  • key The key of the entry to remove.

public object SyncRoot { get; }

Gets an object that can be used to synchronize access to the .

  • Returns An object that can be used to synchronize access to the .

public ICollection Values { get; }

Gets an containing the values in the .

  • Returns An containing the values in the .

public int GetHashCode( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public void Clear( )

😔 No documentation found.

public IDictionaryEnumerator GetEnumerator( )

😔 No documentation found.

public ListDictionary( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public object Item { get; set; }

😔 No documentation found.