VsShellUtilities.OpenAsMiscellaneousFile 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在指定的编辑器中打开指定的杂项文件。
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
逻辑视图的名称。