次の方法で共有


IEditorOperations.OpenLineAbove Method

Inserts a new line at the start of the line the caret is on.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'宣言
Function OpenLineAbove As Boolean
bool OpenLineAbove()
bool OpenLineAbove()
abstract OpenLineAbove : unit -> bool 
function OpenLineAbove() : boolean

Return Value

Type: System.Boolean
true if the edit succeeded, otherwise false.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace