DTEClass.OpenFile Method

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
'Usage
Dim instance As DTEClass 
Dim ViewKind As String 
Dim FileName As String 
Dim returnValue As Window 

returnValue = instance.OpenFile(ViewKind, _
    FileName)
public virtual Window OpenFile(
    string ViewKind,
    string FileName
)
public:
virtual Window^ OpenFile(
    [InAttribute] String^ ViewKind, 
    [InAttribute] String^ FileName
)
public function OpenFile(
    ViewKind : String, 
    FileName : String
) : Window

Parameters

Return Value

Type: EnvDTE.Window

Implements

_DTE.OpenFile(String, String)

.NET Framework Security

See Also

Reference

DTEClass Class

DTEClass Members

EnvDTE Namespace