Partilhar via


ISmartIndentProvider Interface

Gets an ISmartIndent object for a given ITextView.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaração
Public Interface ISmartIndentProvider
public interface ISmartIndentProvider
public interface class ISmartIndentProvider
type ISmartIndentProvider =  interface end
public interface ISmartIndentProvider

The ISmartIndentProvider type exposes the following members.

Methods

  Name Description
Public method CreateSmartIndent Creates a ISmartIndent for the given ITextView.

Top

Remarks

This is a MEF component part, and should be exported with the following attributes:

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

Component exporters must supply at least one content type attribute to specify the applicable content types.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace