IVsTaskItem::SubcategoryIndex Method (Int32)

 

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

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

int SubcategoryIndex(
	[OutAttribute] int% pIndex
)

Parameters

pIndex
Type: System::Int32

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

Return Value

Type: System::Int32

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

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.

Return to top
Show: