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
ViewKind
Type: System.StringRequired. A Constants. vsViewKind indicating the type of view to use.
Return Value
Type: EnvDTE.Window
A Window object.
.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.
See Also
Reference
Other Resources
How to: Compile and Run the Automation Object Model Code Examples