共用方式為


VCConfiguration.MovePropertySheet(VCPropertySheet, Boolean) Method

Definition

Moves a property sheet one position before or after the other property sheets directly imported by this configuration. Position is based on the evaluation order of the property sheets.

public:
 void MovePropertySheet(Microsoft::VisualStudio::VCProjectEngine::VCPropertySheet ^ pPropertySheet, bool bMoveImportLaterInEvaluation);
public:
 void MovePropertySheet(Microsoft::VisualStudio::VCProjectEngine::VCPropertySheet ^ pPropertySheet, bool bMoveImportLaterInEvaluation);
void MovePropertySheet(Microsoft::VisualStudio::VCProjectEngine::VCPropertySheet const & pPropertySheet, bool bMoveImportLaterInEvaluation);
[System.Runtime.InteropServices.DispId(784)]
public void MovePropertySheet (Microsoft.VisualStudio.VCProjectEngine.VCPropertySheet pPropertySheet, bool bMoveImportLaterInEvaluation);
[<System.Runtime.InteropServices.DispId(784)>]
abstract member MovePropertySheet : Microsoft.VisualStudio.VCProjectEngine.VCPropertySheet * bool -> unit
Public Sub MovePropertySheet (pPropertySheet As VCPropertySheet, bMoveImportLaterInEvaluation As Boolean)

Parameters

pPropertySheet
VCPropertySheet

The property sheet to move.

bMoveImportLaterInEvaluation
Boolean

true to move the property sheet one position later in evaluation. false to move the property sheet one position earlier in evaluation.

Attributes

Remarks

For example, assume that the debug configuration imports property sheets Q1, Q2, and Q3 in that order. If you call this method on the debug configuration object with parameters Q2 and true, the result is import order Q1, Q3, Q2. If you call this method with parameters Q2 and false, the result is import order Q2, Q1, Q3. This order is the textual order of the imports in the project file on disk. The UI order, as always, is the reverse of the textual order.

Applies to