Partager via


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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Private Function MaintainInitialTaskOrder ( _
    <OutAttribute> ByRef fMaintainOrder As Integer _
) As Integer Implements IVsTaskProvider2.MaintainInitialTaskOrder
int IVsTaskProvider2.MaintainInitialTaskOrder(
    out int fMaintainOrder
)
private:
virtual int MaintainInitialTaskOrder(
    [OutAttribute] int% fMaintainOrder
) sealed = IVsTaskProvider2::MaintainInitialTaskOrder
private abstract MaintainInitialTaskOrder : 
        fMaintainOrder:int byref -> int  
private override MaintainInitialTaskOrder : 
        fMaintainOrder:int byref -> int
JScript does not support explicit interface implementations.

Parameters

  • fMaintainOrder
    Type: Int32%

    [out] Returns true if the task order should be maintained, otherwise false.

Return Value

Type: Int32
S_OK .

Implements

IVsTaskProvider2.MaintainInitialTaskOrder(Int32%)

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.VisualStudio.Shell Namespace