VCPropertySheet.MovePropertySheet Method (VCPropertySheet, Boolean)


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.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

void MovePropertySheet(
	VCPropertySheet pPropertySheet,
	bool bMoveImportLaterInEvaluation


Type: Microsoft.VisualStudio.VCProjectEngine.VCPropertySheet

The property sheet to move.

Type: System.Boolean

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

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.

Return to top