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

  • 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

See Also

Reference

IDatabaseSchemaView Interface

IDatabaseSchemaView Members

Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView Namespace