共用方式為


IEditorOperations.Unindent 方法

Unindents 的文字。

命名空間:  Microsoft.VisualStudio.Text.Operations
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
Function Unindent As Boolean
bool Unindent()
bool Unindent()
abstract Unindent : unit -> bool
function Unindent() : boolean

傳回值

類型:Boolean
如果編輯成功則為 true,否則為 false。

備註

如果有多行的選取範圍,則取消選取範圍的縮排。 如果單一行選取範圍,則會移除回到之前的選取範圍的起點的空白區域] 索引標籤上的價值。 如果沒有選取範圍,會移除最多可在插入號位置之前的泛空白字元的定位點的價值。

.NET Framework 安全性

請參閱

參考

IEditorOperations 介面

Microsoft.VisualStudio.Text.Operations 命名空間