共用方式為


Block.LocateOwner 方法

定義

多載

LocateOwner(TextChange)
LocateOwner(TextChange, IEnumerable<SyntaxTreeNode>)

LocateOwner(TextChange)

public:
 Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^ LocateOwner(Microsoft::AspNetCore::Razor::Text::TextChange change);
public:
 virtual Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^ LocateOwner(Microsoft::AspNetCore::Razor::Text::TextChange change);
public Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span LocateOwner (Microsoft.AspNetCore.Razor.Text.TextChange change);
public virtual Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span LocateOwner (Microsoft.AspNetCore.Razor.Text.TextChange change);
member this.LocateOwner : Microsoft.AspNetCore.Razor.Text.TextChange -> Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span
abstract member LocateOwner : Microsoft.AspNetCore.Razor.Text.TextChange -> Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span
override this.LocateOwner : Microsoft.AspNetCore.Razor.Text.TextChange -> Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span
Public Function LocateOwner (change As TextChange) As Span
Public Overridable Function LocateOwner (change As TextChange) As Span

參數

change
TextChange

傳回

適用於

LocateOwner(TextChange, IEnumerable<SyntaxTreeNode>)

protected:
 static Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^ LocateOwner(Microsoft::AspNetCore::Razor::Text::TextChange change, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Parser::SyntaxTree::SyntaxTreeNode ^> ^ elements);
protected static Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span LocateOwner (Microsoft.AspNetCore.Razor.Text.TextChange change, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SyntaxTreeNode> elements);
static member LocateOwner : Microsoft.AspNetCore.Razor.Text.TextChange * seq<Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SyntaxTreeNode> -> Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span
Protected Shared Function LocateOwner (change As TextChange, elements As IEnumerable(Of SyntaxTreeNode)) As Span

參數

change
TextChange

傳回

適用於