Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public virtual Window OpenFile(
	string ViewKind,
	string FileName
)

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

_DTE.OpenFile(String, String)

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft