IEditorOperations.Indent 方法
如果有多行的選取範圍,則將選取範圍縮排,否則在插入號位置插入 Tab 字元。
命名空間: Microsoft.VisualStudio.Text.Operations
組件: Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)
語法
'宣告
Function Indent As Boolean
bool Indent()
bool Indent()
abstract Indent : unit -> bool
function Indent() : boolean
傳回值
類型:Boolean
如果編輯成功則為 true,否則為 false。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。