public class MarshalByValueComponent : IComponent, IDisposable, IServiceProvider
|
ctor #1 | Default constructor. This constructor is called by derived class constructors to initialize state in this type. Initializes a new instance of the MarshalByValueComponent class. |
Container | Read-only Gets the container for the component. |
DesignMode | Read-only Gets a value indicating whether the component is currently in design mode. |
Site | Read-write Gets or sets the site of the component. |
Dispose | Overloaded:Dispose() Releases all resources used by the MarshalByValueComponent. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetService | Gets the implementer of the IServiceProvider. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString | Overridden: Returns a String containing the name of the Component, if any. This method should not be overridden. For internal use only. |
Disposed | Adds an event handler to listen to the MarshalByValueComponent.Disposed event on the component. |
Events | Read-only Gets the list of event handlers that are attached to this component. |
Dispose | Overloaded:Dispose(bool disposing) Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources. |
Finalize | Overridden: Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public MarshalByValueComponent(); |
public virtual IContainer Container {get;}
|
public virtual bool DesignMode {get;}
|
protected EventHandlerList Events {get;}
|
public virtual ISite Site {get; set;}
|
When the value of this property is null, the property indicates that the component is being removed from a container. However, this property does not remove the component from the container.
public void Dispose(); |
protected virtual void Dispose( |
disposing
When the disposing parameter is true, this method releases all resources held by any managed objects that this MarshalByValueComponent references. This method invokes the Dispose() method of each referenced object.
For more information about Dispose and Finalize, see the conceptual topic at MSDN: cleaningupunmanagedresources and the conceptual topic at MSDN: overridingfinalizemethod.
~MarshalByValueComponent(); |
public virtual int GetHashCode(); |
service
public Type GetType(); |
protected object MemberwiseClone(); |
public override string ToString(); |
null if the Component is unnamed.
The ISite stores the Component 's name. A Component can only have a ISite if it has been added to an IContainer and the IContainer assigns an ISite to it.
public event EventHandler Disposed;
|