ILineTransformSourceProvider.Create Method
Creates an ILineTransformSource for the specified text view.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Function Create ( _
textView As IWpfTextView _
) As ILineTransformSource
ILineTransformSource Create(
IWpfTextView textView
)
ILineTransformSource^ Create(
IWpfTextView^ textView
)
abstract Create :
textView:IWpfTextView -> ILineTransformSource
function Create(
textView : IWpfTextView
) : ILineTransformSource
Parameters
- textView
Type: Microsoft.VisualStudio.Text.Editor.IWpfTextView
The IWpfTextView on which the ILineTransformSource will format.
Return Value
Type: Microsoft.VisualStudio.Text.Formatting.ILineTransformSource
The new ILineTransformSource. The value may be nulla null reference (Nothing in Visual Basic) if this ILineTransformSourceProvider decides not to participate.
.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.