Поделиться через


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

[GuidAttribute("8901DD4E-64BA-431f-8040-0BC75EE1ADAD")]
[ComVisibleAttribute(true)]
public interface SModelBus
[GuidAttribute("8901DD4E-64BA-431f-8040-0BC75EE1ADAD")]
[ComVisibleAttribute(true)]
public interface class SModelBus
[<GuidAttribute("8901DD4E-64BA-431f-8040-0BC75EE1ADAD")>]
[<ComVisibleAttribute(true)>]
type SModelBus = interface end
<GuidAttribute("8901DD4E-64BA-431f-8040-0BC75EE1ADAD")>
<ComVisibleAttribute(True)>
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

Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top