ErrorTask.IVsErrorItem.GetCategory Method

Gets the category of the error.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

‘선언
Private Function GetCategory ( _
    <OutAttribute> ByRef pCategory As UInteger _
) As Integer Implements IVsErrorItem.GetCategory
‘사용 방법
Dim instance As ErrorTask
Dim pCategory As UInteger
Dim returnValue As Integer

returnValue = CType(instance, IVsErrorItem).GetCategory(pCategory)
int IVsErrorItem.GetCategory(
    out uint pCategory
)
private:
virtual int GetCategory(
    [OutAttribute] unsigned int% pCategory
) sealed = IVsErrorItem::GetCategory
private abstract GetCategory : 
        pCategory:uint32 byref -> int 
private override GetCategory : 
        pCategory:uint32 byref -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
S_OK().

Implements

IVsErrorItem.GetCategory(UInt32%)

.NET Framework Security

See Also

Reference

ErrorTask Class

ErrorTask Members

Microsoft.VisualStudio.Shell Namespace