共用方式為


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

'宣告
<GuidAttribute("F84A6D1D-F305-4055-A02C-A642B871BB20")> _
<InterfaceTypeAttribute()> _
Public Interface IVsProjectSpecificEditorMap2 _
    Inherits IVsProjectSpecificEditorMap
'用途
Dim instance As IVsProjectSpecificEditorMap2
[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

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

IVsProjectSpecificEditorMap2 Members

Microsoft.VisualStudio.Shell.Interop Namespace