共用方式為


TaskProvider.IVsTaskProvider2.SubcategoryList Method

Definition

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

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider2.SubcategoryList(System::UInt32 cbstr, cli::array <System::String ^> ^ rgbstr, [Runtime::InteropServices::Out] System::UInt32 % cnt) = Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider2::SubcategoryList;
int Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider2.SubcategoryList(unsigned int cbstr, std::Array <std::wstring const &> const & rgbstr, [Runtime::InteropServices::Out] unsigned int & cnt);
int IVsTaskProvider2.SubcategoryList (uint cbstr, string[] rgbstr, out uint cnt);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider2.SubcategoryList : uint32 * string[] * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider2.SubcategoryList : uint32 * string[] * uint32 -> int
Function SubcategoryList (cbstr As UInteger, rgbstr As String(), ByRef cnt As UInteger) As Integer Implements IVsTaskProvider2.SubcategoryList

Parameters

cbstr
UInt32

The number of subcategories in rgbstr.

rgbstr
String[]

An array of subcategories

cnt
UInt32

[out] The number of subcategories.

Returns

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

Implements

Remarks

This method calls SubcategoryList.

Applies to