OAFileItem.Open Method

Opens the file item in the specified view.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Automation
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Overrides Function Open ( _
    viewKind As String _
) As Window
'Usage
Dim instance As OAFileItem
Dim viewKind As String
Dim returnValue As Window

returnValue = instance.Open(viewKind)
public override Window Open(
    string viewKind
)
public:
virtual Window^ Open(
    String^ viewKind
) override
public override function Open(
    viewKind : String
) : Window
abstract Open : 
        viewKind:string -> Window 
override Open : 
        viewKind:string -> Window 

Parameters

Return Value

Type: EnvDTE.Window

Implements

ProjectItem.Open(String)

Remarks

Returns a Window.

.NET Framework Security

See Also

Reference

OAFileItem Class

OAFileItem Members

Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace