SModelBus 介面
服務介面的Visual Studio ModelBus 服務。
命名空間: Microsoft.VisualStudio.Modeling.Integration
組件: Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll 中)
語法
'宣告
<ComVisibleAttribute(True)> _
<GuidAttribute("8901DD4E-64BA-431f-8040-0BC75EE1ADAD")> _
Public Interface SModelBus
[ComVisibleAttribute(true)]
[GuidAttribute("8901DD4E-64BA-431f-8040-0BC75EE1ADAD")]
public interface SModelBus
備註
使用這個類別只是用來存取 「 ModelBus 」 服務,並進行轉換IModelBus。
如需詳細資訊,請參閱 使用 Visual Studio Modelbus 整合模型。
範例
// Get the ModelBus service:
IModelBus modelBus =
this.Store.GetService(typeof(SModelBus)) as IModelBus;