ISchemaModelViewer.AddRootNode 方法
將根節點加入至結構描述檢視中,這個根節點通常表示專案節點。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Sub AddRootNode ( _
newRoot As ISchemaModelViewerNode _
)
void AddRootNode(
ISchemaModelViewerNode newRoot
)
void AddRootNode(
ISchemaModelViewerNode^ newRoot
)
abstract AddRootNode :
newRoot:ISchemaModelViewerNode -> unit
function AddRootNode(
newRoot : ISchemaModelViewerNode
)
參數
- newRoot
型別:Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
要加入的根節點。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer 命名空間