共用方式為


VCConfiguration.MovePropertySheet Method

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)

Syntax

'宣告
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, 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.

.NET Framework Security

See Also

Reference

VCConfiguration Interface

Microsoft.VisualStudio.VCProjectEngine Namespace