Share via


DTE2.OpenFile(String, String) Method

Definition

Microsoft Internal Use Only.

public:
 EnvDTE::Window ^ OpenFile(System::String ^ ViewKind, System::String ^ FileName);
public:
 EnvDTE::Window ^ OpenFile(Platform::String ^ ViewKind, Platform::String ^ FileName);
EnvDTE::Window OpenFile(std::wstring const & ViewKind, std::wstring const & FileName);
[System.Runtime.InteropServices.DispId(215)]
[System.Runtime.InteropServices.TypeLibFunc(64)]
public EnvDTE.Window OpenFile (string ViewKind, string FileName);
[<System.Runtime.InteropServices.DispId(215)>]
[<System.Runtime.InteropServices.TypeLibFunc(64)>]
abstract member OpenFile : string * string -> EnvDTE.Window
Public Function OpenFile (ViewKind As String, FileName As String) As Window

Parameters

ViewKind
String
FileName
String

Returns

Implements

Attributes

Applies to