Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IVsInvisibleEditorManager Interface

Used to register an invisible editor.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

'Declaration
<GuidAttribute("14439CDE-B6CF-4DD6-9615-67E8B3DF380D")> _
<InterfaceTypeAttribute(1)> _
Public Interface IVsInvisibleEditorManager
'Usage
Dim instance As IVsInvisibleEditorManager

/** @attribute GuidAttribute("14439CDE-B6CF-4DD6-9615-67E8B3DF380D") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsInvisibleEditorManager
GuidAttribute("14439CDE-B6CF-4DD6-9615-67E8B3DF380D") 
InterfaceTypeAttribute(1) 
public interface IVsInvisibleEditorManager

Notes to Callers Query service for this interface through SVsInvisibleEditorManager.

[C++]

CComPtr<IVsInvisibleEditorManager>  spIEM;
    HRESULT                             hr;

    // Register an invisible editor on the given file, saying 'yes' to caching
    // so that it gets loaded right away.
    if (FAILED (hr = CLangService::GetService()->QueryService (SID_SVsInvisibleEditorManager, IID_IVsInvisibleEditorManager, (void **)&spIEM)) ||
        FAILED (hr = CHash::AddNoCase (pszFileName, true /*fIsFileName*/, &m_pName)) ||
        FAILED (hr = spIEM->RegisterInvisibleEditor (pszFileName, NULL, RIEF_ENABLECACHING, NULL, &m_spEditor)))
    {
        return hr;
    }
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.