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 执行与释放或重置非托管资源关联的应用程序定义的任务。 (继承自 IDisposable。)
公共方法 GetDesiredIndentation 获取 ITextSnapshotLine 的合适缩进。

页首

请参阅

参考

Microsoft.VisualStudio.Text.Editor 命名空间