Opens the project item in the specified view.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function Open ( _
ViewKind As String _
) As Window
'使用
Dim instance As OAProjectItem
Dim ViewKind As String
Dim returnValue As Window
returnValue = instance.Open(ViewKind)
public virtual Window Open(
string ViewKind
)
public:
virtual Window^ Open(
String^ ViewKind
)
public function Open(
ViewKind : String
) : Window
Parameters
ViewKind
Type: System.StringThe name of the type of view in which to open the item.
Return Value
Type: Window
When implemented in a derived class, the Window in which the item was opened.
Implements
ProjectItemOpen(String)
Remarks
By default throws a NotImplementedException, since the correct type of window for the specific item is not known.
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.