Share via


SpanEditHandler.UpdateSpan Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Updates the span using the normalized change.

Namespace:  System.Web.Razor.Editor
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Protected Overridable Function UpdateSpan ( _
    target As Span, _
    normalizedChange As TextChange _
) As SpanBuilder
'Usage
Dim target As Span 
Dim normalizedChange As TextChange 
Dim returnValue As SpanBuilder 

returnValue = Me.UpdateSpan(target, _
    normalizedChange)
protected virtual SpanBuilder UpdateSpan(
    Span target,
    TextChange normalizedChange
)
protected:
virtual SpanBuilder^ UpdateSpan(
    Span^ target, 
    TextChange normalizedChange
)
abstract UpdateSpan : 
        target:Span * 
        normalizedChange:TextChange -> SpanBuilder  
override UpdateSpan : 
        target:Span * 
        normalizedChange:TextChange -> SpanBuilder
protected function UpdateSpan(
    target : Span, 
    normalizedChange : TextChange
) : SpanBuilder

Parameters

Return Value

Type: System.Web.Razor.Parser.SyntaxTree.SpanBuilder
The new span builder for the specified target.

See Also

Reference

SpanEditHandler Class

System.Web.Razor.Editor Namespace