Compartilhar via


IVsInvisibleEditorManager Interface

Definition

Used to register an invisible editor.

public interface class IVsInvisibleEditorManager
public interface class IVsInvisibleEditorManager
__interface IVsInvisibleEditorManager
[System.Runtime.InteropServices.Guid("14439CDE-B6CF-4DD6-9615-67E8B3DF380D")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsInvisibleEditorManager
[System.Runtime.InteropServices.Guid("14439CDE-B6CF-4DD6-9615-67E8B3DF380D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsInvisibleEditorManager
[<System.Runtime.InteropServices.Guid("14439CDE-B6CF-4DD6-9615-67E8B3DF380D")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsInvisibleEditorManager = interface
[<System.Runtime.InteropServices.Guid("14439CDE-B6CF-4DD6-9615-67E8B3DF380D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsInvisibleEditorManager = interface
Public Interface IVsInvisibleEditorManager
Attributes

Examples

[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;  
    }  

Notes to Callers

Query service for this interface through SVsInvisibleEditorManager.

Methods

RegisterInvisibleEditor(String, IVsProject, UInt32, IVsSimpleDocFactory, IVsInvisibleEditor)

Registers an invisible editor on the specified document.

Applies to