Share via


SpanEditHandler.OwnsChange Method

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.

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

Syntax

'Declaration
Public Overridable Function OwnsChange ( _
    target As Span, _
    change As TextChange _
) As Boolean
'Usage
Dim instance As SpanEditHandler 
Dim target As Span 
Dim change As TextChange 
Dim returnValue As Boolean 

returnValue = instance.OwnsChange(target, _
    change)
public virtual bool OwnsChange(
    Span target,
    TextChange change
)
public:
virtual bool OwnsChange(
    Span^ target, 
    TextChange change
)
abstract OwnsChange : 
        target:Span * 
        change:TextChange -> bool  
override OwnsChange : 
        target:Span * 
        change:TextChange -> bool
public function OwnsChange(
    target : Span, 
    change : TextChange
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the span owns the specified change; otherwise, false.

See Also

Reference

SpanEditHandler Class

System.Web.Razor.Editor Namespace