ModelingDocData.OpenView Method

Opens a specific view for the document.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Overrides Sub OpenView ( _
    logicalView As Guid, _
    viewContext As Object _
)
public override void OpenView(
    Guid logicalView,
    Object viewContext
)
public:
virtual void OpenView(
    Guid logicalView, 
    Object^ viewContext
) override
abstract OpenView : 
        logicalView:Guid * 
        viewContext:Object -> unit  
override OpenView : 
        logicalView:Guid * 
        viewContext:Object -> unit
public override function OpenView(
    logicalView : Guid, 
    viewContext : Object
)

Parameters

  • logicalView
    Type: Guid

    The view to open.

  • viewContext
    Type: Object

    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.

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace