다음을 통해 공유


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

반환

적용 대상