SpanEditHandler.OwnsChange(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 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.