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>