ISmartIndentProvider 接口

获取给定 ITextView的一 ISmartIndent 对象。

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Public Interface ISmartIndentProvider
public interface ISmartIndentProvider
public interface class ISmartIndentProvider
type ISmartIndentProvider =  interface end
public interface ISmartIndentProvider

ISmartIndentProvider 类型公开以下成员。

方法

  名称 说明
公共方法 CreateSmartIndent 创建特定 ITextViewISmartIndent

页首

备注

这是 MEF 组件部件,应通过以下属性:

[Export(NameSource=typeof(ISmartIndentProvider))] 
[ContentType("some content type")] 

组件导出程序必须至少提供内容类型属性指定适用的内容类型。

请参阅

参考

Microsoft.VisualStudio.Text.Editor 命名空间