IVsContainedLanguageHost::Advise Method (IVsContainedLanguageHostEvents^, UInt32)
Visual Studio 2015
Enables a client to receive messages from the source text.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int Advise( IVsContainedLanguageHostEvents^ pHost, [OutAttribute] unsigned int% pvsCookie )
Parameters
- pHost
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsContainedLanguageHostEvents^
[in] An IVsContainedLanguageHostEvents object representing the entity that is requesting notification of contained language events generated by the editor.
- pvsCookie
-
Type:
System::UInt32
[out] Returns a unique identifier representing the client. This value can later be used in a call to the Unadvise method.
From singlefileeditor.idl:
HRESULT Advise(
[in] IVsContainedLanguageHostEvents* pHost,
[out] VSCOOKIE* pvsCookie
);
Show: