Task.IVsTaskItem.Category Method

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

Syntax

'宣言
Private Function Category ( _
    cat As VSTASKCATEGORY() _
) As Integer Implements IVsTaskItem.Category
'使用
Dim instance As Task
Dim cat As VSTASKCATEGORY()
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskItem).Category(cat)
int IVsTaskItem.Category(
    VSTASKCATEGORY[] cat
)
private:
virtual int Category(
    array<VSTASKCATEGORY>^ cat
) sealed = IVsTaskItem::Category
JScript does not support explicit interface implementations.

Parameters

  • cat
    Type: []

Return Value

Type: System.Int32

Implements

IVsTaskItem.Category([])

Permissions

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace