IDatabaseSchemaView.SelectNode Method
Selects and, optionally, expands the node with the given model element. Returns the schema view node associated with the model element.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Function SelectNode ( _
element As IModelElement, _
expand As Boolean _
) As IDatabaseSchemaViewNode
'Usage
Dim instance As IDatabaseSchemaView
Dim element As IModelElement
Dim expand As Boolean
Dim returnValue As IDatabaseSchemaViewNode
returnValue = instance.SelectNode(element, _
expand)
IDatabaseSchemaViewNode SelectNode(
IModelElement element,
bool expand
)
IDatabaseSchemaViewNode^ SelectNode(
IModelElement^ element,
bool expand
)
function SelectNode(
element : IModelElement,
expand : boolean
) : IDatabaseSchemaViewNode
abstract SelectNode :
element:IModelElement *
expand:bool -> IDatabaseSchemaViewNode
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element to select
- expand
Type: System.Boolean
Specifies whether the node should be expanded
Return Value
Type: Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView.IDatabaseSchemaViewNode
Returns a IDatabaseSchemaViewNode.
Remarks
The tree will expand up to and, optionally, including the node with the model element.
.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.Project.Project.ToolWindows.DatabaseSchemaView Namespace