次の方法で共有


TextChange.ApplyChange メソッド

定義

オーバーロード

ApplyChange(Span)

スパンのコンテンツにテキスト変更を適用し、新しいコンテンツを返します。 このメソッドはスパン コンテンツを更新しません。

ApplyChange(String, Int32)

ApplyChange(Span)

スパンのコンテンツにテキスト変更を適用し、新しいコンテンツを返します。 このメソッドはスパン コンテンツを更新しません。

public:
 System::String ^ ApplyChange(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^ span);
public string ApplyChange(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span span);
member this.ApplyChange : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span -> string
Public Function ApplyChange (span As Span) As String

パラメーター

span
Span

戻り値

適用対象

ApplyChange(String, Int32)

public:
 System::String ^ ApplyChange(System::String ^ content, int changeOffset);
public string ApplyChange(string content, int changeOffset);
member this.ApplyChange : string * int -> string
Public Function ApplyChange (content As String, changeOffset As Integer) As String

パラメーター

content
String
changeOffset
Int32

戻り値

適用対象