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)
声明
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
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The ITextView on which the ISmartIndent will navigate.
Type: Microsoft.VisualStudio.Text.Editor.ISmartIndent
The ISmartIndent.
Exception | Condition |
---|---|
ArgumentNullException | textView is nulla null reference (Nothing in Visual Basic). |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.