共用方式為


IVsUIShellOpenDocument2 Interface

Provides the list of default document previewers. Implemented by the Environment. Extends, but does not inherit from IVsUIShellOpenDocument.

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

Syntax

'宣告
<GuidAttribute("0649BDA0-0978-4CA0-AB0B-0F619199BCCA")> _
<InterfaceTypeAttribute()> _
Public Interface IVsUIShellOpenDocument2
'用途
Dim instance As IVsUIShellOpenDocument2
[GuidAttribute("0649BDA0-0978-4CA0-AB0B-0F619199BCCA")]
[InterfaceTypeAttribute()]
public interface IVsUIShellOpenDocument2
[GuidAttribute(L"0649BDA0-0978-4CA0-AB0B-0F619199BCCA")]
[InterfaceTypeAttribute()]
public interface class IVsUIShellOpenDocument2
[<GuidAttribute("0649BDA0-0978-4CA0-AB0B-0F619199BCCA")>]
[<InterfaceTypeAttribute()>]
type IVsUIShellOpenDocument2 =  interface end
public interface IVsUIShellOpenDocument2

See Also

Reference

IVsUIShellOpenDocument2 Members

Microsoft.VisualStudio.Shell.Interop Namespace