Condividi tramite


IModelBrowserHost Interface

This is the contract class for the host that want to host the IModelBrowser WPF user control.

Namespace:  Microsoft.VisualStudio.Modeling.Integration.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)

Syntax

'Dichiarazione
Public Interface IModelBrowserHost
public interface IModelBrowserHost
public interface class IModelBrowserHost
type IModelBrowserHost =  interface end
public interface IModelBrowserHost

The IModelBrowserHost type exposes the following members.

Properties

  Name Description
Public property Metadata Collections of limitations, hints and etc to by used by the browsers
Public property ModelBrowser Gets the IModelBrowser
Public property ModelBus Gets the IModelBus
Public property Reference Gets the ModelBusReference

Top

Methods

  Name Description
Public method CancelAndClose Closes the host without validating (cancel action)
Public method Clear Clears the references (set's it to null)
Public method CloseIfValid Closes the host if it validates correctly (ok action)

Top

See Also

Reference

Microsoft.VisualStudio.Modeling.Integration.Picker Namespace