Share via


SpanEditHandler.OwnsChange(Span, TextChange) Method

Definition

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

public virtual bool OwnsChange (System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Text.TextChange change);
abstract member OwnsChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> bool
override this.OwnsChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> bool
Public Overridable Function OwnsChange (target As Span, change As TextChange) As Boolean

Parameters

target
Span

The span to check.

change
TextChange

The change to check.

Returns

true if the span owns the specified change; otherwise, false.

Applies to