JsonElement.Clone 메서드

정의

원래 JsonDocument의 수명을 초과하여 안전하게 저장할 수 있는 JsonElement를 가져옵니다.

public:
 System::Text::Json::JsonElement Clone();
public System.Text.Json.JsonElement Clone ();
member this.Clone : unit -> System.Text.Json.JsonElement
Public Function Clone () As JsonElement

반환

JsonElement

원래 JsonDocument의 수명을 초과하여 안전하게 저장할 수 있는 JsonElement입니다.

설명

이전 JsonElement 호출의 출력이거나 이전 호출 Clone 의 출력인 다른 JsonElement 호출 Clone에 포함된 값인 경우 이 메서드는 추가 메모리 할당이 발생하지 않습니다.

적용 대상