共用方式為


ModelElementLocator 建構函式

建構函式

此應用程式開發介面不符合 CLS 標準。 

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

語法

'宣告
<CLSCompliantAttribute(False)> _
Public Sub New ( _
    serviceProvider As IServiceProvider _
)
[CLSCompliantAttribute(false)]
public ModelElementLocator(
    IServiceProvider serviceProvider
)

參數

.NET Framework 安全性

請參閱

參考

ModelElementLocator 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間