Metoda IVsErrorItem.GetCategory — (UInt32)
Zwraca kategorię błędu.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.8.0 (w Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Składnia
int GetCategory(
out uint pCategory
)
int GetCategory(
[OutAttribute] unsigned int% pCategory
)
abstract GetCategory :
pCategory:uint32 byref -> int
Function GetCategory (
<OutAttribute> ByRef pCategory As UInteger
) As Integer
Parametry
- pCategory
[out] Wartość VSERRORCATEGORY, wartość z __VSERRORCATEGORY wyliczenie określające błąd, ostrzeżenie lub komunikat informacyjny.
Wartość zwracana
Type: System.Int32
Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.
Uwagi
Podpis COM
Z vsshell80.idl:
HRESULT IVsErrorItem::GetCategory(
[out] VSERRORCATEGORY* pCategory
);
Zobacz też
Interfejs IVsErrorItem
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku