Share via


Block.LocateOwner Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Locates the owner of the block.

Namespace:  System.Web.Razor.Parser.SyntaxTree
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Function LocateOwner ( _
    change As TextChange _
) As Span
'Usage
Dim instance As Block 
Dim change As TextChange 
Dim returnValue As Span 

returnValue = instance.LocateOwner(change)
public Span LocateOwner(
    TextChange change
)
public:
Span^ LocateOwner(
    TextChange change
)
member LocateOwner : 
        change:TextChange -> Span
public function LocateOwner(
    change : TextChange
) : Span

Parameters

Return Value

Type: System.Web.Razor.Parser.SyntaxTree.Span
The owner of the block to locate.

See Also

Reference

Block Class

System.Web.Razor.Parser.SyntaxTree Namespace