ISchemaModelViewer.AddRootNode Method
Adds a root node to Schema View that usually represents the project node.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Sub AddRootNode ( _
newRoot As ISchemaModelViewerNode _
)
void AddRootNode(
ISchemaModelViewerNode newRoot
)
void AddRootNode(
ISchemaModelViewerNode^ newRoot
)
abstract AddRootNode :
newRoot:ISchemaModelViewerNode -> unit
function AddRootNode(
newRoot : ISchemaModelViewerNode
)
Parameters
- newRoot
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
Root node to add.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace