다음을 통해 공유


Task.IVsTaskItem.SubcategoryIndex Method

Gets the index of the task in the subcategory list.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

‘선언
Private Function SubcategoryIndex ( _
    <OutAttribute> ByRef index As Integer _
) As Integer Implements IVsTaskItem.SubcategoryIndex
‘사용 방법
Dim instance As Task
Dim index As Integer
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskItem).SubcategoryIndex(index)
int IVsTaskItem.SubcategoryIndex(
    out int index
)
private:
virtual int SubcategoryIndex(
    [OutAttribute] int% index
) sealed = IVsTaskItem::SubcategoryIndex
private abstract SubcategoryIndex : 
        index:int byref -> int 
private override SubcategoryIndex : 
        index:int byref -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
S_OK().

Implements

IVsTaskItem.SubcategoryIndex(Int32%)

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace