Share via


ISmartIndentProvider, interface

Obtient un objet d'ISmartIndent pour ITextView donné.

Espace de noms :  Microsoft.VisualStudio.Text.Editor
Assembly :  Microsoft.VisualStudio.Text.UI (dans Microsoft.VisualStudio.Text.UI.dll)

Syntaxe

'Déclaration
Public Interface ISmartIndentProvider
public interface ISmartIndentProvider
public interface class ISmartIndentProvider
type ISmartIndentProvider =  interface end
public interface ISmartIndentProvider

Le type ISmartIndentProvider expose les membres suivants.

Méthodes

  Nom Description
Méthode publique CreateSmartIndent Crée ISmartIndent pour ITextView donné.

Début

Notes

C'est un composant MEF, et doit être exportée avec les attributs suivants :

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

Les exportateurs composants doivent fournir au moins un attribut de type de contenu pour spécifier les types de contenu applicables.

Voir aussi

Référence

Microsoft.VisualStudio.Text.Editor, espace de noms