VCConfiguration.MovePropertySheet Method (VCPropertySheet, Boolean)


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.

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, 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.

Return to top