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
- target
Type: System.Web.Razor.Parser.SyntaxTree.Span
The span to check.
- normalizedChange
Type: System.Web.Razor.Text.TextChange
The change to apply.
Return Value
Type: System.Web.Razor.PartialParseResult
true if the span can accept the specified change; otherwise, false.