ISmartIndent::GetDesiredIndentation Method (ITextSnapshotLine^)
Visual Studio 2015
Gets the desired indentation of an ITextSnapshotLine.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- line
-
Type:
Microsoft.VisualStudio.Text::ITextSnapshotLine^
The line for which to compute the indentation.
Return Value
Type: System::Nullable<Int32>The number of spaces to place at the start of the line, or null if there is no desired indentation.
Show: