TaskProvider.IVsTaskProvider2.SubcategoryList Method

Gets a list of subcategories for the tasks of this task provider.

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

Syntax

'Declaration
Private Function SubcategoryList ( _
    cbstr As UInteger, _
    rgbstr As String(), _
    <OutAttribute> ByRef cnt As UInteger _
) As Integer Implements IVsTaskProvider2.SubcategoryList
int IVsTaskProvider2.SubcategoryList(
    uint cbstr,
    string[] rgbstr,
    out uint cnt
)
private:
virtual int SubcategoryList(
    unsigned int cbstr, 
    array<String^>^ rgbstr, 
    [OutAttribute] unsigned int% cnt
) sealed = IVsTaskProvider2::SubcategoryList
private abstract SubcategoryList : 
        cbstr:uint32 * 
        rgbstr:string[] * 
        cnt:uint32 byref -> int  
private override SubcategoryList : 
        cbstr:uint32 * 
        rgbstr:string[] * 
        cnt:uint32 byref -> int
JScript does not support explicit interface implementations.

Parameters

  • cbstr
    Type: UInt32

    The number of subcategories in rgbstr.

  • rgbstr
    Type: array<String[]

    An array of subcategories

  • cnt
    Type: UInt32%

    [out] The number of subcategories.

Return Value

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

Implements

IVsTaskProvider2.SubcategoryList(UInt32, array<String[], UInt32%)

Remarks

This method calls SubcategoryList.

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.VisualStudio.Shell Namespace