Export (0) Print
Expand All

NameObjectCollectionBase Methods

The methods of the NameObjectCollectionBase class are listed here. For a complete list of NameObjectCollectionBase class members, see the NameObjectCollectionBase Members topic.

Public Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator

Supported by the .NET Compact Framework.

Returns an enumerator that can iterate through the NameObjectCollectionBase.
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 Implements the ISerializable interface and returns the data needed to serialize the NameObjectCollectionBase instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodBaseAdd

Supported by the .NET Compact Framework.

Adds an entry with the specified key and value into the NameObjectCollectionBase instance.
protected methodBaseClear

Supported by the .NET Compact Framework.

Removes all entries from the NameObjectCollectionBase instance.
protected methodBaseGet

Supported by the .NET Compact Framework.

Overloaded. Gets the value of the specified entry from the NameObjectCollectionBase instance.
protected methodBaseGetAllKeys

Supported by the .NET Compact Framework.

Returns a String array that contains all the keys in the NameObjectCollectionBase instance.
protected methodBaseGetAllValues Overloaded. Returns an array that contains all the values in the NameObjectCollectionBase instance.
protected methodBaseGetKey

Supported by the .NET Compact Framework.

Gets the key of the entry at the specified index of the NameObjectCollectionBase instance.
protected methodBaseHasKeys

Supported by the .NET Compact Framework.

Gets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not a null reference (Nothing in Visual Basic).
protected methodBaseRemove

Supported by the .NET Compact Framework.

Removes the entries with the specified key from the NameObjectCollectionBase instance.
protected methodBaseRemoveAt

Supported by the .NET Compact Framework.

Removes the entry at the specified index of the NameObjectCollectionBase instance.
protected methodBaseSet

Supported by the .NET Compact Framework.

Overloaded. Sets the value of an entry in the NameObjectCollectionBase instance.
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 methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

Explicit Interface Implementations

ICollection.CopyTo Copies the entire NameObjectCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.

See Also

NameObjectCollectionBase Class | System.Collections.Specialized Namespace

Show:
© 2014 Microsoft