Partilhar via


VCPropertySheet.MovePropertySheet(VCPropertySheet, Boolean) Method

Definition

Moves an imported property sheet one position before or after in the evaluation order. Position here refers to its relative locations among all the property sheets directly imported by this property sheet.

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(617)]
public void MovePropertySheet (Microsoft.VisualStudio.VCProjectEngine.VCPropertySheet pPropertySheet, bool bMoveImportLaterInEvaluation);
[<System.Runtime.InteropServices.DispId(617)>]
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, consider a property sheet object P that imports property sheets Q1, Q2, and Q3 in that order. Calling this method on P with the parameters Q2 and true results in the import order Q1, Q3, Q2. Passing Q2 with false results in the import order Q2, Q1, Q3. Note that this order is the textual order of the imports in the P1.props file on disk. The user interface order, as always, is reverse of the textual order.

Applies to