Share via


ISmartIndentProvider.CreateSmartIndent Method

Creates a ISmartIndent for the given ITextView.

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

Syntax

'Declaration
Function CreateSmartIndent ( _
    textView As ITextView _
) As ISmartIndent
ISmartIndent CreateSmartIndent(
    ITextView textView
)
ISmartIndent^ CreateSmartIndent(
    ITextView^ textView
)
abstract CreateSmartIndent : 
        textView:ITextView -> ISmartIndent 
function CreateSmartIndent(
    textView : ITextView
) : ISmartIndent

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.ISmartIndent
The ISmartIndent.

Exceptions

Exception Condition
ArgumentNullException

textView is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ISmartIndentProvider Interface

Microsoft.VisualStudio.Text.Editor Namespace