共用方式為


__VSCOMPSELFLAGS2 Enumeration

Provides additional members for the VSCOMPSELFLAGS enum.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration __VSCOMPSELFLAGS2
'用途
Dim instance As __VSCOMPSELFLAGS2
[FlagsAttribute]
public enum __VSCOMPSELFLAGS2
[FlagsAttribute]
public enum class __VSCOMPSELFLAGS2
[<FlagsAttribute>]
type __VSCOMPSELFLAGS2
public enum __VSCOMPSELFLAGS2

Members

Member name Description
VSCOMSEL2_MultiSelectMode Allows selection of multiple components.
VSCOMSEL2_ShowSelectedList List of selected components is visible. Ignored in single-select mode.
VSCOMSEL2_ShowAllPagesOfSpecifiedTypes Add pages, which are not specified in the rgcstiTabInitializers parameter of ComponentSelectorDlg2, but produce the same components (have the same ComponentType string value in the registry).

Remarks

Specifies the component selection flags for calls to ComponentSelectorDlg2.

COM Signature

From vsshell80.idl:

enum __VSCOMPSELFLAGS2
{
    VSCOMSEL2_MultiSelectMode              = 0x00000001,
    VSCOMSEL2_ShowSelectedList             = 0x00000080,
    VSCOMSEL2_ShowAllPagesOfSpecifiedTypes = 0x00000100,
};

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace