ISmartIndent 介面
提供計算文字行所需縮排的方法。
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)
語法
'宣告
Public Interface ISmartIndent _
Inherits IDisposable
public interface ISmartIndent : IDisposable
public interface class ISmartIndent : IDisposable
type ISmartIndent =
interface
interface IDisposable
end
public interface ISmartIndent extends IDisposable
ISmartIndent 類型會公開下列成員。
方法
名稱 | 描述 | |
---|---|---|
Dispose | 執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。 (繼承自 IDisposable)。 | |
GetDesiredIndentation | 取得 ITextSnapshotLine 的所需縮排。 |
回頁首