Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Opens a specific view for the document.
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Overridable Sub OpenView ( _
    logicalView As Guid, _
    viewContext As Object _
)
public virtual void OpenView(
    Guid logicalView,
    Object viewContext
)
public:
virtual void OpenView(
    Guid logicalView, 
    Object^ viewContext
)
abstract OpenView : 
        logicalView:Guid * 
        viewContext:Object -> unit  
override OpenView : 
        logicalView:Guid * 
        viewContext:Object -> unit
public function OpenView(
    logicalView : Guid, 
    viewContext : Object
)
Parameters
- logicalView 
 Type: System.Guid- The GUID that specifies the view to open. This GUID must match the value that is specified in the registry for the editor that supports this view. 
- viewContext 
 Type: System.Object- The object that gives additional context about the view to open. The editor factory that supports the logical view must be able to interpret this 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.