SpanEditHandler.CanAcceptChange(Span, TextChange) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
protected virtual System.Web.Razor.PartialParseResult CanAcceptChange(System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Text.TextChange normalizedChange);
abstract member CanAcceptChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.PartialParseResult
override this.CanAcceptChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.PartialParseResult
Protected Overridable Function CanAcceptChange (target As Span, normalizedChange As TextChange) As PartialParseResult
Parameters
- target
- Span
The span to check.
- normalizedChange
- TextChange
The change to apply.
Returns
true if the span can accept the specified change; otherwise, false.