次の方法で共有


IEditorOperations.DeleteToEndOfLine Method

Deletes the line the caret is on, up to the line break character and the selection, if present.

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

Syntax

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

Return Value

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

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace