Dela via


VCPropertySheet.MovePropertySheet Method

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)

Syntax

'Declaration
Sub MovePropertySheet ( _
    pPropertySheet As VCPropertySheet, _
    bMoveImportLaterInEvaluation As Boolean _
)
void MovePropertySheet(
    VCPropertySheet pPropertySheet,
    bool bMoveImportLaterInEvaluation
)
void MovePropertySheet(
    [InAttribute] VCPropertySheet^ pPropertySheet, 
    [InAttribute] bool bMoveImportLaterInEvaluation
)
abstract MovePropertySheet : 
        pPropertySheet:VCPropertySheet * 
        bMoveImportLaterInEvaluation:bool -> unit
function MovePropertySheet(
    pPropertySheet : VCPropertySheet, 
    bMoveImportLaterInEvaluation : boolean
)

Parameters

  • bMoveImportLaterInEvaluation
    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.

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.

.NET Framework Security

See Also

Reference

VCPropertySheet Interface

Microsoft.VisualStudio.VCProjectEngine Namespace