class StringDictionary

in global :: System . Collections . Specialized

Implements a hash table with the key and the value strongly typed to be strings rather than objects.


public void Add( string key, string 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 ContainsKey( string key )

Determines if the contains a specific key.

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

public bool ContainsValue( string value )

Determines if the contains a specific value.

  • value The value to locate in the . The value can be .
  • Returns if the contains an element with the specified value; otherwise, .

public void CopyTo( Array array, int index )

Copies the string dictionary values to a one-dimensional instance at the specified index.

  • array The one-dimensional that is the destination of the values copied from the .
  • index The index in the array where copying begins.

public int Count { get; }

Gets the number of key/value pairs in the .

  • Returns The number of key/value pairs in the . Retrieving the value of this property is an O(1) operation.

public bool IsSynchronized { get; }

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

  • Returns if access to the is synchronized (thread safe); otherwise, .

public ICollection Keys { get; }

Gets a collection of keys in the .

  • Returns An that provides the keys in the .

public void Remove( string key )

Removes the entry with the specified key from the string dictionary.

  • 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 that can be used to synchronize access to the .

public ICollection Values { get; }

Gets a collection of values in the .

  • Returns An that provides the values in the .

public void Clear( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public string Item { get; set; }

😔 No documentation found.

public IEnumerator GetEnumerator( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public StringDictionary( )

😔 No documentation found.