IEditorWorkspace.CurrentEditor 屬性

適用於版本2

如果編輯器工作區在作用中且編輯器已開啟,則取得目前的編輯器。

命名空間:  Microsoft.WebMatrix.Extensibility
組件:  Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)

語法

'宣告
ReadOnly Property CurrentEditor As IEditor 
    Get
'用途
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

屬性值

型別:Microsoft.WebMatrix.Extensibility.Editor.IEditor
如果編輯器工作區在作用中且編輯器已開啟,則為目前的編輯器。

請參閱

參考

IEditorWorkspace 介面

Microsoft.WebMatrix.Extensibility 命名空間