ISchemaModelViewer.SelectNode Method
Selects and optionally expands the node for the specified model element.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function SelectNode ( _
element As IModelElement, _
expand As Boolean _
) As ISchemaModelViewerNode
ISchemaModelViewerNode SelectNode(
IModelElement element,
bool expand
)
ISchemaModelViewerNode^ SelectNode(
IModelElement^ element,
bool expand
)
abstract SelectNode :
element:IModelElement *
expand:bool -> ISchemaModelViewerNode
function SelectNode(
element : IModelElement,
expand : boolean
) : ISchemaModelViewerNode
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
Model element to select.
- expand
Type: System.Boolean
Flag that indicates whether the node will be expanded as well as selected.
Return Value
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
The Schema View node associated with the model element.
Remarks
The tree will be expanded up to and, optionally, including the node that is associated with the specified 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.Package.Project.SchemaModelViewer Namespace