IEditorOperations.DeleteFullLine 方法

如果存在选定内容,则删除选定内容涉及的所有行(包括换行符)。 否则,删除脱字号所在的行(包括换行符)。

命名空间:  Microsoft.VisualStudio.Text.Operations
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Function DeleteFullLine As Boolean
bool DeleteFullLine()
bool DeleteFullLine()
abstract DeleteFullLine : unit -> bool
function DeleteFullLine() : boolean

返回值

类型:Boolean
如果编辑成功,则为 true;否则为 false。

.NET Framework 安全性

请参阅

参考

IEditorOperations 接口

Microsoft.VisualStudio.Text.Operations 命名空间