ByValue Component Class
Implements IComponent and provides the base implementation for remotable components that are marshaled by value (a copy of the serialized object is passed).
public ref class MarshalByValueComponent : IDisposable, IServiceProvider, System::ComponentModel::IComponent
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ComponentConverter))] [System.Runtime.InteropServices.ComVisible(true)] public class MarshalByValueComponent : IDisposable, IServiceProvider, System.ComponentModel.IComponent
type MarshalByValueComponent = class interface IComponent interface IServiceProvider interface IDisposable
Public Class MarshalByValueComponent Implements IComponent, IDisposable, IServiceProvider
A component can be contained in a container. For each component in a container, the container creates a site that it uses to manage the component. The component interacts with its container primarily through a container-provided ISite, which is a repository of container-specific, per-component information.
Notes to Inheritors
Initializes a new instance of the MarshalByValueComponent class.
Gets the container for the component.
Gets a value indicating whether the component is currently in design mode.
Gets the list of event handlers that are attached to this component.
Gets or sets the site of the component.
Releases all resources used by the MarshalByValueComponent.
Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
Serves as the default hash function.(Inherited from Object)
Gets the implementer of the IServiceProvider.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Adds an event handler to listen to the Disposed event on the component.