Partager via


SModelBus Interface

The service interface for the Visual Studio ModelBus service.

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

Syntax

'Declaration
<GuidAttribute("8901DD4E-64BA-431f-8040-0BC75EE1ADAD")> _
<ComVisibleAttribute(True)> _
Public Interface SModelBus
[GuidAttribute("8901DD4E-64BA-431f-8040-0BC75EE1ADAD")]
[ComVisibleAttribute(true)]
public interface SModelBus
[GuidAttribute(L"8901DD4E-64BA-431f-8040-0BC75EE1ADAD")]
[ComVisibleAttribute(true)]
public interface class SModelBus
[<GuidAttribute("8901DD4E-64BA-431f-8040-0BC75EE1ADAD")>]
[<ComVisibleAttribute(true)>]
type SModelBus =  interface end
public interface SModelBus

Remarks

Use this class only to obtain access to the ModelBus service, and cast it to an IModelBus.

For more information, see Integrating Models by using Visual Studio Modelbus.

Examples

// Get the ModelBus service:
IModelBus modelBus = 
    this.Store.GetService(typeof(SModelBus)) as IModelBus;

See Also

Reference

Microsoft.VisualStudio.Modeling.Integration Namespace