Partager via


View::Select method

The Select method selects the specified node in the result pane.

Syntax

View.Select( _
  ByVal Node As Node _
)

Parameters

Node

The node, as a Node object, to be selected.

Return value

This method does not return a value.

Examples

' This code selects the first node in the view.
' Retrieve the first node in the view.
Dim objNode1 As MMC20.Node
Set objNode1 = objView.ListItems(1)
 
' Select the node.
objView.Select objNode1
 
' Take action on the selection.
' ...
 
' Free the Node object when done.
Set objNode1 = Nothing

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38

See also

View.Deselect

View.SelectAll

View.Selection