_DTE.OpenFile(String, String) _DTE.OpenFile(String, String) _DTE.OpenFile(String, String) _DTE.OpenFile(String, String) _DTE.OpenFile(String, String) _DTE.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);
abstract member OpenFile : string * string -> EnvDTE.Window
Public Function OpenFile (ViewKind As String, FileName As String) As Window

Parameters

ViewKind
String String String String String String

The kind of view.

FileName
String String String String String String

The name of the file.

Returns

The window in which the file is open.

Applies to