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)

'Declaration
Public Interface ISmartIndentProvider

The ISmartIndentProvider type exposes the following members.

  NameDescription
Public methodCreateSmartIndentCreates a ISmartIndent for the given ITextView.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft