DTE2.OpenFile Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
Function OpenFile ( _
ViewKind As String, _
FileName As String _
) As Window
Window OpenFile(
string ViewKind,
string FileName
)
Window^ OpenFile(
[InAttribute] String^ ViewKind,
[InAttribute] String^ FileName
)
abstract OpenFile :
ViewKind:string *
FileName:string -> Window
function OpenFile(
ViewKind : String,
FileName : String
) : Window
Parameters
- ViewKind
Type: System.String
- FileName
Type: System.String
Return Value
Type: EnvDTE.Window
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.