Condividi tramite


Task.IVsTaskItem.Category(VSTASKCATEGORY[]) Method

Definition

Sets the task category.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Category(cli::array <Microsoft::VisualStudio::Shell::Interop::VSTASKCATEGORY> ^ cat) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::Category;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Category(Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSTASKCATEGORY> ^ cat) = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::Category;
int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Category(std::Array <Microsoft::VisualStudio::Shell::Interop::VSTASKCATEGORY> const & cat);
int IVsTaskItem.Category (Microsoft.VisualStudio.Shell.Interop.VSTASKCATEGORY[] cat);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Category : Microsoft.VisualStudio.Shell.Interop.VSTASKCATEGORY[] -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.Category : Microsoft.VisualStudio.Shell.Interop.VSTASKCATEGORY[] -> int
Function Category (cat As VSTASKCATEGORY()) As Integer Implements IVsTaskItem.Category

Parameters

cat
VSTASKCATEGORY[]

An array of VSTASKCATEGORY objects.

Returns

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

Implements

Applies to