Freigeben über


IVsSyntheticTextClient.GetErrorText-Methode

Gibt den QuickInfo-Text für das Anzeigen zurück.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function GetErrorText ( _
    dwReason As UInteger, _
    pSynthReg As IVsSyntheticRegion, _
    <OutAttribute> ByRef pbstrText As String _
) As Integer
int GetErrorText(
    uint dwReason,
    IVsSyntheticRegion pSynthReg,
    out string pbstrText
)
int GetErrorText(
    [InAttribute] unsigned int dwReason, 
    [InAttribute] IVsSyntheticRegion^ pSynthReg, 
    [OutAttribute] String^% pbstrText
)
abstract GetErrorText : 
        dwReason:uint32 * 
        pSynthReg:IVsSyntheticRegion * 
        pbstrText:string byref -> int
function GetErrorText(
    dwReason : uint, 
    pSynthReg : IVsSyntheticRegion, 
    pbstrText : String
) : int

Parameter

  • dwReason
    Typ: UInt32

    [in] Grund für den Aufruf.

  • pbstrText
    Typ: String%

    [out] BSTR , das den anzuzeigenden Text enthält.

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Von textmgr.idl:

HRESULT IVsSyntheticTextClient::GetErrorText(
   [in] DWORD dwReason,
   [in] IVsSyntheticRegion *pSynthReg,
   [out] BSTR *pbstrText
);

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsSyntheticTextClient Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace