OAReferenceItem.Open Method
Opens a window of the specified type.
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 OAReferenceItem
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
- viewKind
Type: System.String
Specifies the window type
Return Value
Type: EnvDTE.Window
Implements
.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
Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace