Task::IVsTaskItem::Category Method (array<VSTASKCATEGORY>^)

 

Sets the task category.

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

private:
virtual int Category(
	array<VSTASKCATEGORY>^ cat
) sealed = IVsTaskItem::Category

Parameters

cat
Type: array<Microsoft.VisualStudio.Shell.Interop::VSTASKCATEGORY>^

An array of VSTASKCATEGORY objects.

Return Value

Type: System::Int32

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

Return to top
Show: