SpanEditHandler.ApplyChange Method (Span, TextChange, Boolean)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Applies the text change to the span.
Namespace: System.Web.Razor.Editor
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Overridable Function ApplyChange ( _
target As Span, _
change As TextChange, _
force As Boolean _
) As EditResult
'Usage
Dim instance As SpanEditHandler
Dim target As Span
Dim change As TextChange
Dim force As Boolean
Dim returnValue As EditResult
returnValue = instance.ApplyChange(target, _
change, force)
public virtual EditResult ApplyChange(
Span target,
TextChange change,
bool force
)
public:
virtual EditResult^ ApplyChange(
Span^ target,
TextChange change,
bool force
)
abstract ApplyChange :
target:Span *
change:TextChange *
force:bool -> EditResult
override ApplyChange :
target:Span *
change:TextChange *
force:bool -> EditResult
public function ApplyChange(
target : Span,
change : TextChange,
force : boolean
) : EditResult
Parameters
- target
Type: System.Web.Razor.Parser.SyntaxTree.Span
The span to apply changes to.
- change
Type: System.Web.Razor.Text.TextChange
The change to apply.
- force
Type: System.Boolean
true to accept partial result; otherwise, false.
Return Value
Type: System.Web.Razor.Editor.EditResult
The result of the apply operation.