IDesignerLoaderHost2 Interface

IDesignerLoaderHost2 Interface

.NET Framework (current version)
 

Provides an interface that extends IDesignerLoaderHost to specify whether errors are tolerated while loading a design document.

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

public interface IDesignerLoaderHost2 : IDesignerLoaderHost, 
	IDesignerHost, IServiceContainer, IServiceProvider

NameDescription
System_CAPS_pubpropertyCanReloadWithErrors

Gets or sets a value indicating whether it is possible to reload with errors.

System_CAPS_pubpropertyContainer

Gets the container for this designer host.(Inherited from IDesignerHost.)

System_CAPS_pubpropertyIgnoreErrorsDuringReload

Gets or sets a value indicating whether errors should be ignored when Reload is called.

System_CAPS_pubpropertyInTransaction

Gets a value indicating whether the designer host is currently in a transaction.(Inherited from IDesignerHost.)

System_CAPS_pubpropertyLoading

Gets a value indicating whether the designer host is currently loading the document.(Inherited from IDesignerHost.)

System_CAPS_pubpropertyRootComponent

Gets the instance of the base class used as the root component for the current design.(Inherited from IDesignerHost.)

System_CAPS_pubpropertyRootComponentClassName

Gets the fully qualified name of the class being designed.(Inherited from IDesignerHost.)

System_CAPS_pubpropertyTransactionDescription

Gets the description of the current transaction.(Inherited from IDesignerHost.)

NameDescription
System_CAPS_pubmethodActivate()

Activates the designer that this host is hosting.(Inherited from IDesignerHost.)

System_CAPS_pubmethodAddService(Type, Object)

Adds the specified service to the service container.(Inherited from IServiceContainer.)

System_CAPS_pubmethodAddService(Type, Object, Boolean)

Adds the specified service to the service container, and optionally promotes the service to any parent service containers.(Inherited from IServiceContainer.)

System_CAPS_pubmethodAddService(Type, ServiceCreatorCallback)

Adds the specified service to the service container.(Inherited from IServiceContainer.)

System_CAPS_pubmethodAddService(Type, ServiceCreatorCallback, Boolean)

Adds the specified service to the service container, and optionally promotes the service to parent service containers.(Inherited from IServiceContainer.)

System_CAPS_pubmethodCreateComponent(Type)

Creates a component of the specified type and adds it to the design document.(Inherited from IDesignerHost.)

System_CAPS_pubmethodCreateComponent(Type, String)

Creates a component of the specified type and name, and adds it to the design document.(Inherited from IDesignerHost.)

System_CAPS_pubmethodCreateTransaction()

Creates a DesignerTransaction that can encapsulate event sequences to improve performance and enable undo and redo support functionality.(Inherited from IDesignerHost.)

System_CAPS_pubmethodCreateTransaction(String)

Creates a DesignerTransaction that can encapsulate event sequences to improve performance and enable undo and redo support functionality, using the specified transaction description.(Inherited from IDesignerHost.)

System_CAPS_pubmethodDestroyComponent(IComponent)

Destroys the specified component and removes it from the designer container.(Inherited from IDesignerHost.)

System_CAPS_pubmethodEndLoad(String, Boolean, ICollection)

Ends the designer loading operation.(Inherited from IDesignerLoaderHost.)

System_CAPS_pubmethodGetDesigner(IComponent)

Gets the designer instance that contains the specified component.(Inherited from IDesignerHost.)

System_CAPS_pubmethodGetService(Type)

Gets the service object of the specified type.(Inherited from IServiceProvider.)

System_CAPS_pubmethodGetType(String)

Gets an instance of the specified, fully qualified type name.(Inherited from IDesignerHost.)

System_CAPS_pubmethodReload()

Reloads the design document.(Inherited from IDesignerLoaderHost.)

System_CAPS_pubmethodRemoveService(Type)

Removes the specified service type from the service container.(Inherited from IServiceContainer.)

System_CAPS_pubmethodRemoveService(Type, Boolean)

Removes the specified service type from the service container, and optionally promotes the service to parent service containers.(Inherited from IServiceContainer.)

NameDescription
System_CAPS_pubeventActivated

Occurs when this designer is activated.(Inherited from IDesignerHost.)

System_CAPS_pubeventDeactivated

Occurs when this designer is deactivated.(Inherited from IDesignerHost.)

System_CAPS_pubeventLoadComplete

Occurs when this designer completes loading its document.(Inherited from IDesignerHost.)

System_CAPS_pubeventTransactionClosed

Adds an event handler for the TransactionClosed event.(Inherited from IDesignerHost.)

System_CAPS_pubeventTransactionClosing

Adds an event handler for the TransactionClosing event.(Inherited from IDesignerHost.)

System_CAPS_pubeventTransactionOpened

Adds an event handler for the TransactionOpened event.(Inherited from IDesignerHost.)

System_CAPS_pubeventTransactionOpening

Adds an event handler for the TransactionOpening event.(Inherited from IDesignerHost.)

Use the IDesignerLoaderHost2 interface to specify whether the designer loader can continue loading when errors occur during deserialization.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft