共用方式為


TaskProvider.IVsTaskProvider2.MaintainInitialTaskOrder Method

Gets or sets whether or not the task list should maintain the task order given to it by the task provider.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Private Function MaintainInitialTaskOrder ( _
    <OutAttribute> ByRef fMaintainOrder As Integer _
) As Integer Implements IVsTaskProvider2.MaintainInitialTaskOrder
int IVsTaskProvider2.MaintainInitialTaskOrder(
    out int fMaintainOrder
)

Parameters

  • fMaintainOrder
    Type: System.Int32%
    [out] Returns true if the task order should be maintained, otherwise false.

Return Value

Type: System.Int32
S_OK .

Implements

IVsTaskProvider2.MaintainInitialTaskOrder(Int32%)

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.VisualStudio.Shell Namespace