Share via


ProjectItem.Open Method

Opens the ProjectItem in the specified view.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Function Open ( _
    ViewKind As String _
) As Window
Window Open(
    string ViewKind
)
Window^ Open(
    [InAttribute] String^ ViewKind
)
abstract Open : 
        ViewKind:string -> Window
function Open(
    ViewKind : String
) : Window

Parameters

Return Value

Type: EnvDTE.Window
A Window object.

.NET Framework Security

See Also

Reference

ProjectItem Interface

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples