IVsTextViewIntellisenseHost.GetSubjectText(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);