共用方式為


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
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣告
Private Function MaintainInitialTaskOrder ( _
    <OutAttribute> ByRef fMaintainOrder As Integer _
) As Integer Implements IVsTaskProvider2.MaintainInitialTaskOrder
'用途
Dim instance As TaskProvider
Dim fMaintainOrder As Integer
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskProvider2).MaintainInitialTaskOrder(fMaintainOrder)
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: 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

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace