共用方式為


vsUISelectionType Enum

Definition

Indicates how the selection is moved or extended in a UIHierarchy window.

public enum class vsUISelectionType
public enum class vsUISelectionType
enum vsUISelectionType
[System.Runtime.InteropServices.Guid("28362492-B1E3-4998-94C6-0A2CDB5484ED")]
public enum vsUISelectionType
[<System.Runtime.InteropServices.Guid("28362492-B1E3-4998-94C6-0A2CDB5484ED")>]
type vsUISelectionType = 
Public Enum vsUISelectionType
Inheritance
vsUISelectionType
Attributes

Fields

vsUISelectionTypeExtend 3

The new node, the currently selected node, and all intervening nodes are selected.

vsUISelectionTypeSelect 1

The node is selected by itself.

vsUISelectionTypeSetCaret 4

The new node is not selected; only the focus is given to it.

vsUISelectionTypeToggle 2

The selection state is toggled on the new node. That is, if the node was selected, it is no longer. If it was not selected, it now is the only selected node.

Applies to