Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​MarshalByValueComponent
Assembly: System.ComponentModel.TypeConverter
Inheritance: object → MarshalByValueComponent
Implemented Interfaces
- IComponent (Inherits: IDisposable)
- IServiceProvider
Implements <see cref="T:System.ComponentModel.IComponent" /> and provides the base implementation for remotable components that are marshaled by value (a copy of the serialized object is passed).
Properties
public
IContainer
Container
Gets the container for the component.
public
bool
DesignMode
Gets a value indicating whether the component is currently in design mode.
protected
EventHandlerList
Events
Gets the list of event handlers that are attached to this component.
public
ISite
Site
Gets or sets the site of the component.
Methods
public
void
Dispose​()
Releases all resources used by the <see cref="T:System.ComponentModel.MarshalByValueComponent" /> .
protected
void
Dispose​(bool disposing)
Releases the unmanaged resources used by the <see cref="T:System.ComponentModel.MarshalByValueComponent" /> and optionally releases the managed resources.
disposing
<see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.
protected
void
Finalize​()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
public
object
GetService​(Type service)
Gets the implementer of the <see cref="T:System.IServiceProvider" /> .
Returns An <see cref="T:System.Object" /> that represents the implementer of the <see cref="T:System.IServiceProvider" /> .
service
A <see cref="T:System.Type" /> that represents the type of service you want.
public
string
ToString​()
Returns a <see cref="T:System.String" /> containing the name of the <see cref="T:System.ComponentModel.Component" /> , if any. This method should not be overridden.
Returns A <see cref="T:System.String" /> containing the name of the <see cref="T:System.ComponentModel.Component" /> , if any.
<see langword="null" /> if the <see cref="T:System.ComponentModel.Component" /> is unnamed.
public
bool
Equals​(object obj)
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object