共用方式為


ModelingPartitionMapper 建構函式

建構新的 ModelingPartitionMapper

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

語法

'宣告
Protected Friend Sub New ( _
    getRootElement As Func(Of ModelElement) _
)
protected internal ModelingPartitionMapper(
    Func<ModelElement> getRootElement
)

參數

備註

而不是以使這個困難對單元測試的 ModelingDocData 的相依性 (因為該建立相依性對載入) 我們使用回呼函式存取目前根項目與主機 ModelingDocData。

.NET Framework 安全性

請參閱

參考

ModelingPartitionMapper 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間