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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。