Export (0) Print
Expand All

PropertyCollection Members

PropertyCollection overview

Public Constructors

public constructorPropertyCollection Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the PropertyCollection class.

Public Properties

public propertyCount (inherited from Hashtable)

Supported by the .NET Compact Framework.

Gets the number of key-and-value pairs contained in the Hashtable.
public propertyIsFixedSize (inherited from Hashtable)

Supported by the .NET Compact Framework.

Gets a value indicating whether the Hashtable has a fixed size.
public propertyIsReadOnly (inherited from Hashtable)

Supported by the .NET Compact Framework.

Gets a value indicating whether the Hashtable is read-only.
public propertyIsSynchronized (inherited from Hashtable)

Supported by the .NET Compact Framework.

Gets a value indicating whether access to the Hashtable is synchronized (thread-safe).
public propertyItem (inherited from Hashtable) Gets or sets the value associated with the specified key.

In C#, this property is the indexer for the PropertyCollection class.

public propertyKeys (inherited from Hashtable)

Supported by the .NET Compact Framework.

Gets an ICollection containing the keys in the Hashtable.
public propertySyncRoot (inherited from Hashtable)

Supported by the .NET Compact Framework.

Gets an object that can be used to synchronize access to the Hashtable.
public propertyValues (inherited from Hashtable)

Supported by the .NET Compact Framework.

Gets an ICollection containing the values in the Hashtable.

Public Methods

public methodAdd (inherited from Hashtable)

Supported by the .NET Compact Framework.

Adds an element with the specified key and value into the Hashtable.
public methodClear (inherited from Hashtable)

Supported by the .NET Compact Framework.

Removes all elements from the Hashtable.
public methodClone (inherited from Hashtable)

Supported by the .NET Compact Framework.

Creates a shallow copy of the Hashtable.
public methodContains (inherited from Hashtable)

Supported by the .NET Compact Framework.

Determines whether the Hashtable contains a specific key.
public methodContainsKey (inherited from Hashtable)

Supported by the .NET Compact Framework.

Determines whether the Hashtable contains a specific key.
public methodContainsValue (inherited from Hashtable)

Supported by the .NET Compact Framework.

Determines whether the Hashtable contains a specific value.
public methodCopyTo (inherited from Hashtable)

Supported by the .NET Compact Framework.

Copies the Hashtable elements to a one-dimensional Array instance at the specified index.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator (inherited from Hashtable)

Supported by the .NET Compact Framework.

Returns an IDictionaryEnumerator that can iterate through the Hashtable.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetObjectData (inherited from Hashtable) Implements the ISerializable interface and returns the data needed to serialize the Hashtable.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodOnDeserialization (inherited from Hashtable) Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
public methodRemove (inherited from Hashtable)

Supported by the .NET Compact Framework.

Removes the element with the specified key from the Hashtable.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Properties

protected propertycomparer (inherited from Hashtable) Gets or sets the comparer to use for the Hashtable.
protected propertyhcp (inherited from Hashtable) Gets or sets the object that can dispense hash codes.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetHash (inherited from Hashtable)

Supported by the .NET Compact Framework.

Returns the hash code for the specified key.
protected methodKeyEquals (inherited from Hashtable)

Supported by the .NET Compact Framework.

Compares a specific Object with a specific key in the Hashtable.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

PropertyCollection Class | System.Data Namespace

Show:
© 2014 Microsoft