Opens this file item in the specified view.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overrides Function Open ( _
viewKind As String _
) As Window
'使用
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
Parameters
- viewKind
Type: System.String
Return Value
Type: Window
The opened Window.
Implements
ProjectItemOpen(String)
Permissions
- 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.