Condividi tramite


Metodo IVsSyntheticTextClient.GetErrorText

Restituisce il testo di un suggerimento per il posizionamento.

Spazio dei nomi:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Sintassi

'Dichiarazione
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

Parametri

  • dwReason
    Tipo: UInt32

    [in] Motivo della chiamata.

  • pbstrText
    Tipo: String%

    [out] In BSTR contenere il testo da visualizzare.

Valore restituito

Tipo: Int32
Se il metodo ha esito positivo, restituisce S_OK.Se non riesce, restituisce un codice di errore.

Note

Firma COM

da textmgr.idl:

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsSyntheticTextClient Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop