Export (0) Print
Expand All

Container Methods

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

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Overloaded. Adds a Component to the Container.
public methodDispose

Supported by the .NET Compact Framework.

Overloaded. Releases the resources used by the Container.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
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 methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodRemove

Supported by the .NET Compact Framework.

Removes a component from the Container.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodCreateSite

Supported by the .NET Compact Framework.

Creates a site ISite for the given IComponent and assigns the given name to the site.
protected methodDispose Overloaded. Releases the resources used by the Container.
protected methodFinalize

Supported by the .NET Compact Framework.

Overridden. Releases unmanaged resources and performs other cleanup operations before the Container is reclaimed by garbage collection.

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

protected methodGetService

Supported by the .NET Compact Framework.

Gets the service object of the specified type, if it is available.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Container Class | System.ComponentModel Namespace

Show:
© 2014 Microsoft