Condividi tramite


IVsProjectSpecificEditorMap2 Interface

Definition

Implemented by projects to support placing a project-specific editor in the Open With dialog box, or to indicate which editor or language service should be associated with a file type.

public interface class IVsProjectSpecificEditorMap2 : Microsoft::VisualStudio::Shell::Interop::IVsProjectSpecificEditorMap
public interface class IVsProjectSpecificEditorMap2 : Microsoft::VisualStudio::Shell::Interop::IVsProjectSpecificEditorMap
__interface IVsProjectSpecificEditorMap2 : Microsoft::VisualStudio::Shell::Interop::IVsProjectSpecificEditorMap
[System.Runtime.InteropServices.Guid("F84A6D1D-F305-4055-A02C-A642B871BB20")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsProjectSpecificEditorMap2 : Microsoft.VisualStudio.Shell.Interop.IVsProjectSpecificEditorMap
[System.Runtime.InteropServices.Guid("F84A6D1D-F305-4055-A02C-A642B871BB20")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProjectSpecificEditorMap2 : Microsoft.VisualStudio.Shell.Interop.IVsProjectSpecificEditorMap
[<System.Runtime.InteropServices.Guid("F84A6D1D-F305-4055-A02C-A642B871BB20")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsProjectSpecificEditorMap2 = interface
    interface IVsProjectSpecificEditorMap
[<System.Runtime.InteropServices.Guid("F84A6D1D-F305-4055-A02C-A642B871BB20")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProjectSpecificEditorMap2 = interface
    interface IVsProjectSpecificEditorMap
Public Interface IVsProjectSpecificEditorMap2
Implements IVsProjectSpecificEditorMap
Attributes
Implements

Notes to Implementers

Implement IVsProjectSpecificEditorMap2 on your project object to support opening a specific editor in the project's OpenItem(UInt32, Guid, IntPtr, IVsWindowFrame) Method implementation.

Methods

GetSpecificEditorProperty(String, Int32, Object)

Gets properties related to project-specific editors and the Open With dialog box.

GetSpecificEditorType(String, Guid)

Specifies which editor should be used to load the specified file.

GetSpecificLanguageService(String, Guid)

Use to specify the language service that should be associated with the core editor if the core editor is the default editor.

SetSpecificEditorProperty(String, Int32, Object)

Sets properties related to project-specific editors and the Open With dialog box.

Applies to