ISmartIndentationService Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit un service Visual Studio qui détermine la mise en retrait automatique lorsque la touche entrée est enfoncée ou lorsque vous naviguez vers une ligne vide.
public interface class ISmartIndentationService
public interface class ISmartIndentationService
__interface ISmartIndentationService
public interface ISmartIndentationService
type ISmartIndentationService = interface
Public Interface ISmartIndentationService
Remarques
Il s’agit d’une partie de composant MEF qui doit être importée comme suit : [Import] ISmartIndentationService sélecteur = null ;
Méthodes
| GetDesiredIndentation(ITextView, ITextSnapshotLine) |
Obtient la mise en retrait souhaitée d'une ITextSnapshotLine comme affiché dans ITextView. |