VsShellUtilities.OpenAsMiscellaneousFile 方法

定义

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

public:
 static void OpenAsMiscellaneousFile(IServiceProvider ^ provider, System::String ^ path, System::String ^ caption, Guid editor, System::String ^ physicalView, Guid logicalView);
public static void OpenAsMiscellaneousFile (IServiceProvider provider, string path, string caption, Guid editor, string physicalView, Guid logicalView);
static member OpenAsMiscellaneousFile : IServiceProvider * string * string * Guid * string * Guid -> unit
Public Shared Sub OpenAsMiscellaneousFile (provider As IServiceProvider, path As String, caption As String, editor As Guid, physicalView As String, logicalView As Guid)
Public Sub OpenAsMiscellaneousFile (provider As IServiceProvider, path As String, caption As String, editor As Guid, physicalView As String, logicalView As Guid)

参数

provider
IServiceProvider

服务提供程序。

path
String

要打开的项的路径。

caption
String

项的标题。

editor
Guid

编辑器类型的唯一标识符。

physicalView
String

物理视图的名称。

logicalView
Guid

逻辑视图的名称。

适用于