共用方式為


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 的所需縮排。

回頁首

請參閱

參考

Microsoft.VisualStudio.Text.Editor 命名空間