Block.LocateOwner 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- elements
- IEnumerable<SyntaxTreeNode>