Compartilhar via


DTEClass.OpenFile(String, String) Method

Definition

For more information on this method, refer to OpenFile(String, String).

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

ViewKind
String

The kind of view.

FileName
String

The file name.

Returns

The window in which the file was opened.

Implements

Attributes

Applies to