Partilhar via


IEditorWorkspace.CurrentEditor Property

Applies to v2.

Gets the current editor if the editor workspace is active and editor is open.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
ReadOnly Property CurrentEditor As IEditor 
    Get
'Usage
Dim instance As IEditorWorkspace 
Dim value As IEditor 

value = instance.CurrentEditor
IEditor CurrentEditor { get; }
property IEditor^ CurrentEditor {
    IEditor^ get ();
}
abstract CurrentEditor : IEditor
function get CurrentEditor () : IEditor

Property Value

Type: Microsoft.WebMatrix.Extensibility.Editor.IEditor
The current editor if the editor workspace is active and editor is open.

See Also

Reference

IEditorWorkspace Interface

Microsoft.WebMatrix.Extensibility Namespace