IVsTaskItem.SubcategoryIndex(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.