Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
For more information on this method, refer to OpenFile.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Public Overridable Function OpenFile ( _
ViewKind As String, _
FileName As String _
) As Window
public virtual Window OpenFile(
string ViewKind,
string FileName
)
public:
virtual Window^ OpenFile(
[InAttribute] String^ ViewKind,
[InAttribute] String^ FileName
)
abstract OpenFile :
ViewKind:string *
FileName:string -> Window
override OpenFile :
ViewKind:string *
FileName:string -> Window
public function OpenFile(
ViewKind : String,
FileName : String
) : Window
Parameters
- ViewKind
Type: System.String
The kind of view.
- FileName
Type: System.String
The file name.
Return Value
Type: EnvDTE.Window
The window in which the file was opened.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.