Task.IVsTaskItem.Category(VSTASKCATEGORY[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.