Partager via


IVsTextViewIntellisenseHost.GetSubjectText(String) Method

Definition

The text upon which Intellisense should operate.

public:
 int GetSubjectText([Runtime::InteropServices::Out] System::String ^ % pbstrSubjectText);
int GetSubjectText([Runtime::InteropServices::Out] std::wstring const & & pbstrSubjectText);
public int GetSubjectText (out string pbstrSubjectText);
abstract member GetSubjectText : string -> int
Public Function GetSubjectText (ByRef pbstrSubjectText As String) As Integer

Parameters

pbstrSubjectText
String

 

Returns

If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.Returns E_NOTIMPL if GetHostFlags()includes IHF_NOSEPARATESUBJECT. The contents of the context buffer should be considered the subject text.

Implements

Remarks

From singlefileeditor.idl:

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

Applies to