Share via


IVsTaskItem.SubcategoryIndex(Int32) Method

Definition

Returns the index to the subcategory list maintained by the provider.

public:
 int SubcategoryIndex([Runtime::InteropServices::Out] int % pIndex);
int SubcategoryIndex([Runtime::InteropServices::Out] int & pIndex);
public int SubcategoryIndex (out int pIndex);
abstract member SubcategoryIndex : int -> int
Public Function SubcategoryIndex (ByRef pIndex As Integer) As Integer

Parameters

pIndex
Int32

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsTaskItem::SubcategoryIndex(  
   [out, retval]long *pIndex  
);  

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.

Applies to