Compartir a través de


IVsProjectSpecificEditorMap2 Interface

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.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<GuidAttribute("F84A6D1D-F305-4055-A02C-A642B871BB20")> _
<InterfaceTypeAttribute()> _
Public Interface IVsProjectSpecificEditorMap2 _
    Inherits IVsProjectSpecificEditorMap
[GuidAttribute("F84A6D1D-F305-4055-A02C-A642B871BB20")]
[InterfaceTypeAttribute()]
public interface IVsProjectSpecificEditorMap2 : IVsProjectSpecificEditorMap
[GuidAttribute(L"F84A6D1D-F305-4055-A02C-A642B871BB20")]
[InterfaceTypeAttribute()]
public interface class IVsProjectSpecificEditorMap2 : IVsProjectSpecificEditorMap
[<GuidAttribute("F84A6D1D-F305-4055-A02C-A642B871BB20")>]
[<InterfaceTypeAttribute()>]
type IVsProjectSpecificEditorMap2 =  
    interface 
        interface IVsProjectSpecificEditorMap 
    end
public interface IVsProjectSpecificEditorMap2 extends IVsProjectSpecificEditorMap

The IVsProjectSpecificEditorMap2 type exposes the following members.

Methods

  Name Description
Public method GetSpecificEditorProperty Gets properties related to project-specific editors and the Open With dialog box.
Public method GetSpecificEditorType Specifies which editor should be used to load the specified file.
Public method GetSpecificLanguageService Use to specify the language service that should be associated with the core editor if the core editor is the default editor.
Public method SetSpecificEditorProperty Sets properties related to project-specific editors and the Open With dialog box.

Top

Remarks

Notes to Implementers

Implement IVsProjectSpecificEditorMap2 on your project object to support opening a specific editor in the project's OpenItem Method implementation.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace