Share via


ISmartIndentProvider.CreateSmartIndent(ITextView) Method

Definition

Creates an ISmartIndent object for the given ITextView.

public:
 Microsoft::VisualStudio::Text::Editor::ISmartIndent ^ CreateSmartIndent(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public Microsoft.VisualStudio.Text.Editor.ISmartIndent CreateSmartIndent (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member CreateSmartIndent : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Text.Editor.ISmartIndent
Public Function CreateSmartIndent (textView As ITextView) As ISmartIndent

Parameters

textView
ITextView

The ITextView on which the ISmartIndent will navigate.

Returns

A valid ISmartIndent. This value will never be null.

Exceptions

textView is null.

Applies to