Share via


SpanEditHandler.CanAcceptChange Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the span can accept the specified change.

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

Syntax

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

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

Parameters

Return Value

Type: System.Web.Razor.PartialParseResult
true if the span can accept the specified change; otherwise, false.

See Also

Reference

SpanEditHandler Class

System.Web.Razor.Editor Namespace