Partager via


TaskProvider.IVsTaskProvider.SubcategoryList Method

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

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

Syntax

'Déclaration
Private Function SubcategoryList ( _
    cbstr As UInteger, _
    rgbstr As String(), _
    <OutAttribute> ByRef cnt As UInteger _
) As Integer Implements IVsTaskProvider.SubcategoryList
'Utilisation
Dim instance As TaskProvider
Dim cbstr As UInteger
Dim rgbstr As String()
Dim cnt As UInteger
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskProvider).SubcategoryList(cbstr, _
    rgbstr, cnt)
int IVsTaskProvider.SubcategoryList(
    uint cbstr,
    string[] rgbstr,
    out uint cnt
)
private:
virtual int SubcategoryList(
    unsigned int cbstr, 
    array<String^>^ rgbstr, 
    [OutAttribute] unsigned int% cnt
) sealed = IVsTaskProvider::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: System.UInt32
    The number of subcategories in rgbstr.

Return Value

Type: System.Int32
S_OK().

Implements

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

.NET Framework Security

See Also

Reference

TaskProvider Class

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace