Partager via


IVsEnhancedDataTip.IsErrorTip Method

Tests whether the DataTip is for an error.

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

Syntax

'Declaration
Function IsErrorTip ( _
    <OutAttribute> ByRef pbIsError As Integer _
) As Integer
int IsErrorTip(
    out int pbIsError
)
int IsErrorTip(
    [OutAttribute] int% pbIsError
)
abstract IsErrorTip : 
        pbIsError:int byref -> int
function IsErrorTip(
    pbIsError : int
) : int

Parameters

  • pbIsError
    Type: Int32%

    [out] Boolean. Set to true if this is an error DataTip.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsEnhancedDataTip::IsErrorTip(
   [out] BOOL* pbIsError
);

.NET Framework Security

See Also

Reference

IVsEnhancedDataTip Interface

Microsoft.VisualStudio.Shell.Interop Namespace