Container Methods

 

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAdd(IComponent)

Adds the specified Component to the Container. The component is unnamed.

System_CAPS_pubmethodAdd(IComponent, String)

Adds the specified Component to the Container and assigns it a name.

System_CAPS_protmethodCreateSite(IComponent, String)

Creates a site ISite for the given IComponent and assigns the given name to the site.

System_CAPS_pubmethodDispose()

Releases all resources used by the Container.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the Container, and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Container is reclaimed by garbage collection.(Overrides Object.Finalize().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetService(Type)

Gets the service object of the specified type, if it is available.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemove(IComponent)

Removes a component from the Container.

System_CAPS_protmethodRemoveWithoutUnsiting(IComponent)

Removes a component from the Container without setting Site to null.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodValidateName(IComponent, String)

Determines whether the component name is unique for this container.

Return to top
Show: