VsShellUtilities.OpenAsMiscellaneousFile 方法

在中打开位指定编辑器的指定的杂项文件。

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Shared Sub OpenAsMiscellaneousFile ( _
    provider As IServiceProvider, _
    path As String, _
    caption As String, _
    editor As Guid, _
    physicalView As String, _
    logicalView As Guid _
)
public static void OpenAsMiscellaneousFile(
    IServiceProvider provider,
    string path,
    string caption,
    Guid editor,
    string physicalView,
    Guid logicalView
)

参数

  • editor
    类型:System.Guid
    的打开文件的编辑器 GUID。
  • physicalView
    类型:System.String
    类型的名称窗口中打开编辑器中。

.NET Framework 安全性

请参见

参考

VsShellUtilities 类

Microsoft.VisualStudio.Shell 命名空间