_DTE.OpenFile(String, String) Methode

Definition

Nur Microsoft-interne Verwendung.

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

Parameter

ViewKind
String

Die Ansichtsart.

FileName
String

Der Name der Datei.

Gibt zurück

Window

Das Fenster, in dem die Datei geöffnet ist.

Attribute

Gilt für