次の方法で共有


IVsTaskItem2.SubcategoryIndex Method

Returns the index into the subcategory list maintained by a task provider.

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

Syntax

'宣言
Function SubcategoryIndex ( _
    <OutAttribute> ByRef pIndex As Integer _
) As Integer
'使用
Dim instance As IVsTaskItem2
Dim pIndex As Integer
Dim returnValue As Integer

returnValue = instance.SubcategoryIndex(pIndex)
int SubcategoryIndex(
    out int pIndex
)
int SubcategoryIndex(
    [OutAttribute] int% pIndex
)
function SubcategoryIndex(
    pIndex : int
) : int

Parameters

  • pIndex
    Type: System.Int32%

    [out, retval] Index position in the subcategory list.

Return Value

Type: System.Int32

Implements

IVsTaskItem.SubcategoryIndex(Int32%)

Remarks

Use this method to return the index position corresponding to a specific subcategory. Subcategories are not visible to the user but are used for sorting the task list.

Permissions

See Also

Reference

IVsTaskItem2 Interface

IVsTaskItem2 Members

Microsoft.VisualStudio.Shell.Interop Namespace