ISmartIndentationService::GetDesiredIndentation Method (ITextView^, ITextSnapshotLine^)
Visual Studio 2015
Gets the desired indentation of an ITextSnapshotLine as displayed in ITextView.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- textView
-
Type:
Microsoft.VisualStudio.Text.Editor::ITextView^
The text view in which the line is displayed.
- line
-
Type:
Microsoft.VisualStudio.Text::ITextSnapshotLine^
The line for which to compute the indentation.
This service consumes ISmartIndentProvider objects to determine how to perform the indentation.
Show: