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
声明
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
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The ITextView on which the ISmartIndent will navigate.
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
- 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.