C# Class System.Collections.Hashtable

Inheritance: System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable, System.Runtime.Serialization.IDeserializationCallback, System.ICloneable
Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
CopyEntries void
CopyKeys void
CopyValues void
Hashtable System.Diagnostics
Hashtable System.Diagnostics
Hashtable System.Diagnostics
Hashtable System.Diagnostics
Hashtable System.Diagnostics
Hashtable System.Diagnostics
IEnumerable IEnumerator
InitHash uint
Insert void
ToKeyValuePairsArray System.Collections.KeyValuePairs[]
UpdateVersion void
expand void
putEntry void
rehash void
rehash void

Public Methods

Method Description
Add ( Object key, Object value ) : void
Clear ( ) : void
Clone ( ) : Object
Contains ( Object key ) : bool
ContainsKey ( Object key ) : bool
ContainsValue ( Object value ) : bool
CopyTo ( Array array, int arrayIndex ) : void
GetEnumerator ( ) : IDictionaryEnumerator
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
Hashtable ( ) : System.Diagnostics
Hashtable ( IDictionary d ) : System.Diagnostics
Hashtable ( IDictionary d, IEqualityComparer equalityComparer ) : System.Diagnostics
Hashtable ( IDictionary d, float loadFactor ) : System.Diagnostics
Hashtable ( IDictionary d, float loadFactor, IEqualityComparer equalityComparer ) : System.Diagnostics
Hashtable ( IEqualityComparer equalityComparer ) : System.Diagnostics
Hashtable ( int capacity ) : System.Diagnostics
Hashtable ( int capacity, IEqualityComparer equalityComparer ) : System.Diagnostics
Hashtable ( int capacity, float loadFactor ) : System.Diagnostics
Hashtable ( int capacity, float loadFactor, IEqualityComparer equalityComparer ) : System.Diagnostics
OnDeserialization ( Object sender ) : void
Remove ( Object key ) : void
Synchronized ( Hashtable table ) : Hashtable
this ( Object key ) : Object

Protected Methods

Method Description
GetHash ( Object key ) : int
Hashtable ( SerializationInfo info, StreamingContext context ) : System.Diagnostics
KeyEquals ( Object item, Object key ) : bool

Private Methods

Method Description
CopyEntries ( Array array, int arrayIndex ) : void
CopyKeys ( Array array, int arrayIndex ) : void
CopyValues ( Array array, int arrayIndex ) : void
Hashtable ( IDictionary d, IHashCodeProvider hcp, IComparer comparer ) : System.Diagnostics
Hashtable ( IDictionary d, float loadFactor, IHashCodeProvider hcp, IComparer comparer ) : System.Diagnostics
Hashtable ( IHashCodeProvider hcp, IComparer comparer ) : System.Diagnostics
Hashtable ( bool trash ) : System.Diagnostics
Hashtable ( int capacity, IHashCodeProvider hcp, IComparer comparer ) : System.Diagnostics
Hashtable ( int capacity, float loadFactor, IHashCodeProvider hcp, IComparer comparer ) : System.Diagnostics
IEnumerable ( ) : IEnumerator
InitHash ( Object key, int hashsize, uint &seed, uint &incr ) : uint
Insert ( Object key, Object nvalue, bool add ) : void
ToKeyValuePairsArray ( ) : System.Collections.KeyValuePairs[]
UpdateVersion ( ) : void
expand ( ) : void
putEntry ( bucket newBuckets, Object key, Object nvalue, int hashcode ) : void
rehash ( ) : void
rehash ( int newsize, bool forceNewHashCode ) : void

Method Details

Add() public method

public Add ( Object key, Object value ) : void
key Object
value Object
return void

Clear() public method

public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : Object
return Object

Contains() public method

public Contains ( Object key ) : bool
key Object
return bool

ContainsKey() public method

public ContainsKey ( Object key ) : bool
key Object
return bool

ContainsValue() public method

public ContainsValue ( Object value ) : bool
value Object
return bool

CopyTo() public method

public CopyTo ( Array array, int arrayIndex ) : void
array Array
arrayIndex int
return void

GetEnumerator() public method

public GetEnumerator ( ) : IDictionaryEnumerator
return IDictionaryEnumerator

GetHash() protected method

protected GetHash ( Object key ) : int
key Object
return int

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
return void

Hashtable() public method

public Hashtable ( ) : System.Diagnostics
return System.Diagnostics

Hashtable() public method

public Hashtable ( IDictionary d ) : System.Diagnostics
d IDictionary
return System.Diagnostics

Hashtable() public method

public Hashtable ( IDictionary d, IEqualityComparer equalityComparer ) : System.Diagnostics
d IDictionary
equalityComparer IEqualityComparer
return System.Diagnostics

Hashtable() public method

public Hashtable ( IDictionary d, float loadFactor ) : System.Diagnostics
d IDictionary
loadFactor float
return System.Diagnostics

Hashtable() public method

public Hashtable ( IDictionary d, float loadFactor, IEqualityComparer equalityComparer ) : System.Diagnostics
d IDictionary
loadFactor float
equalityComparer IEqualityComparer
return System.Diagnostics

Hashtable() public method

public Hashtable ( IEqualityComparer equalityComparer ) : System.Diagnostics
equalityComparer IEqualityComparer
return System.Diagnostics

Hashtable() protected method

protected Hashtable ( SerializationInfo info, StreamingContext context ) : System.Diagnostics
info SerializationInfo
context StreamingContext
return System.Diagnostics

Hashtable() public method

public Hashtable ( int capacity ) : System.Diagnostics
capacity int
return System.Diagnostics

Hashtable() public method

public Hashtable ( int capacity, IEqualityComparer equalityComparer ) : System.Diagnostics
capacity int
equalityComparer IEqualityComparer
return System.Diagnostics

Hashtable() public method

public Hashtable ( int capacity, float loadFactor ) : System.Diagnostics
capacity int
loadFactor float
return System.Diagnostics

Hashtable() public method

public Hashtable ( int capacity, float loadFactor, IEqualityComparer equalityComparer ) : System.Diagnostics
capacity int
loadFactor float
equalityComparer IEqualityComparer
return System.Diagnostics

KeyEquals() protected method

protected KeyEquals ( Object item, Object key ) : bool
item Object
key Object
return bool

OnDeserialization() public method

public OnDeserialization ( Object sender ) : void
sender Object
return void

Remove() public method

public Remove ( Object key ) : void
key Object
return void

Synchronized() public static method

public static Synchronized ( Hashtable table ) : Hashtable
table Hashtable
return Hashtable

this() public method

public this ( Object key ) : Object
key Object
return Object