共用方式為


ModelElementLocator.ServiceProvider 屬性

此 API 不符合 CLS 標準。 

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
<CLSCompliantAttribute(False)> _
Protected ReadOnly Property ServiceProvider As IServiceProvider
[CLSCompliantAttribute(false)]
protected IServiceProvider ServiceProvider { get; }

屬性值

型別:System.IServiceProvider

.NET Framework 安全性

請參閱

參考

ModelElementLocator 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間