Partilhar via


Método IVsTextViewIntellisenseHost.GetSubjectText

O texto no qual o Intellisense deve operar.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Sintaxe

'Declaração
Function GetSubjectText ( _
    <OutAttribute> ByRef pbstrSubjectText As String _
) As Integer
int GetSubjectText(
    out string pbstrSubjectText
)
int GetSubjectText(
    [OutAttribute] String^% pbstrSubjectText
)
abstract GetSubjectText : 
        pbstrSubjectText:string byref -> int
function GetSubjectText(
    pbstrSubjectText : String
) : int

Parâmetros

  • pbstrSubjectText
    Tipo: String%

     

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna NativeMethods.S_OK.Se ele falhar, ele retorna um código de erro.
Retorna E_NOTIMPL se GetHostFlags (de) inclui o IHF_NOSEPARATESUBJECT.O conteúdo do buffer de contexto deve ser considerado o texto do assunto.

Comentários

De singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::GetSubjectText([out, retval] BSTR *pbstrSubjectText);

Segurança do .NET Framework

Consulte também

Referência

IVsTextViewIntellisenseHost Interface

Namespace Microsoft.VisualStudio.TextManager.Interop