ISmartIndentProvider - интерфейс
Возвращает ISmartIndent объект заданным ITextView.
Пространство имен: 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 | Создает a ISmartIndent для заданным ITextView. |
В начало страницы
Заметки
Это часть компонент MEF, и должно быть экспортированно со следующими атрибутами:
[Export(NameSource=typeof(ISmartIndentProvider))]
[ContentType("some content type")]
Консигнанты компонентов необходимо указать хотя бы один атрибут типа содержимого, чтобы определить применимые типы содержимого.