共用方式為


__VSPTDPROPID Enum

Definition

Specifies properties for the targeting capability.

public enum class __VSPTDPROPID
public enum class __VSPTDPROPID
enum __VSPTDPROPID
public enum __VSPTDPROPID
type __VSPTDPROPID = 
Public Enum __VSPTDPROPID
Inheritance
__VSPTDPROPID

Fields

VSPTDPROPID_AcquisitionCommandTitle 18

BSTR, optional, default null. The text for the Acquisition project context menu command.

VSPTDPROPID_AcquisitionComponents 17

VARIANT, optional, default NULL. The components for the Setup driver to install, format specific.

VSPTDPROPID_AcquisitionSetupDriver 16

IVsProjectAcquisitionSetupDriver, optional, default null. The setup driver for installing the missing component.

VSPTDPROPID_DoBackup 10

BOOL, optional, default false. Sent backup flag to RetargetProject.

VSPTDPROPID_DoNotAdvertiseRetarget 1

BOOL, optional, default FALSE. Specifies whether to offer retarget on first load.

VSPTDPROPID_IncludeAllProjectsForProjectRetargeting 20
VSPTDPROPID_InitUnselectedInSolutionRetargeting 21
9

BSTR, optional, default NULL. Specifies a URL to open in the IDE after retargeting.

VSPTDPROPID_MissingPrerequisites 15

BOOL, optional, default false. There are missing components (Visual Studio and/or SDKs) that are needed for the proper operation of projects using this target.

VSPTDPROPID_ProjectRetargetingDescription 3

BSTR, required. The description for this target section, when the project is offered for retargeting.

8

BSTR, optional, default NULL. Specifies a URL to incorporate into the retarget dialog and to open in Visual Studio every time a project is being unloaded because it first needs to be retarget.

VSPTDPROPID_ProjectRetargetingTaskPriority 4

WORD, optional, default RTP_Low.

VSPTDPROPID_ProjectRetargetingTitle 2

BSTR, required. The title to display for this target section, when project is offered for retargeting.

VSPTDPROPID_ProjectUnloadUntilRetargetedDescription 6

BSTR, required. The description for this target section, when the project will be unloaded.

VSPTDPROPID_ProjectUnloadUntilRetargetedTaskPriority 7

DWORD, optional, default RTP_Low.

VSPTDPROPID_ProjectUnloadUntilRetargetedTitle 5

BSTR, required. The title to display for this target section, when the project will be unloaded.

VSPTDPROPID_RetargetProjectCommandTitle 13

BSTR, optional, default null. The text for the retarget project context menu command.

VSPTDPROPID_RetargetSolutionCommandTitle 19
VSPTDPROPID_UnloadInfoLine 12

BSTR, optional, default null. The unloaded info line in case the project is unloaded for retargeting.

VSPTDPROPID_UnloadTitle 11

STR, optional, default null. The project title addition in case the project is unloaded for retargeting.

Applies to