Método IVsSyntheticTextClient.GetErrorText
Retorna o texto para passar de dica.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
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
Parâmetros
dwReason
Tipo: UInt32[in] Razão para a chamada.
pSynthReg
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion[in] A região sintética de interesse.
pbstrText
Tipo: String%[out] A BSTR que contém o texto a ser exibido.
Valor de retorno
Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.
Comentários
COM assinatura
De textmgr.idl:
HRESULT IVsSyntheticTextClient::GetErrorText(
[in] DWORD dwReason,
[in] IVsSyntheticRegion *pSynthReg,
[out] BSTR *pbstrText
);
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.