Udostępnij za pośrednictwem


UIHierarchy.SelectUp(vsUISelectionType, Int32) Method

Definition

Selects the node immediately above the currently selected node with respect to the tree's current expansion state.

public:
 void SelectUp(EnvDTE::vsUISelectionType How, int Count);
public:
 void SelectUp(EnvDTE::vsUISelectionType How, int Count);
void SelectUp(EnvDTE::vsUISelectionType How, int Count);
[System.Runtime.InteropServices.DispId(6)]
public void SelectUp (EnvDTE.vsUISelectionType How, int Count);
[<System.Runtime.InteropServices.DispId(6)>]
abstract member SelectUp : EnvDTE.vsUISelectionType * int -> unit
Public Sub SelectUp (How As vsUISelectionType, Count As Integer)

Parameters

How
vsUISelectionType

Required. A vsUISelectionType constant indicating how the selection is made.

Count
Int32

Required. The number of nodes to select up from the current node. Count is also used for coalescing commands while recording. That is, if you type SHIFT + UP ARROW four times, rather than four lines of code emitted, you instead get one line with a Count value of 4.

Attributes

Applies to