IVsSyntheticTextManager::GetSyntheticTextSession Method (Object^, IVsSyntheticTextSession^)
Visual Studio 2015
Asks the owning object whether a synthetic text session currently exists.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int GetSyntheticTextSession(
Object^ pOwningObject,
[OutAttribute] IVsSyntheticTextSession^% ppSession
)
Parameters
- pOwningObject
-
Type:
System::Object^
[in] The owning object (normally the buffer) of the session.
- ppSession
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsSyntheticTextSession^
[out] An existing IVsSyntheticTextSession.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsSyntheticTextManager::GetSyntheticTextSession(
[in] IUnknown *pOwningObject,
[out] IVsSyntheticTextSession **ppSession
);
Show: