Encoding.Clone 메서드

정의

파생 클래스에서 재정의되는 경우 현재 Encoding 개체의 단순 복사본을 만듭니다.

public:
 virtual System::Object ^ Clone();
public virtual object Clone();
[System.Runtime.InteropServices.ComVisible(false)]
public virtual object Clone();
abstract member Clone : unit -> obj
override this.Clone : unit -> obj
[<System.Runtime.InteropServices.ComVisible(false)>]
abstract member Clone : unit -> obj
override this.Clone : unit -> obj
Public Overridable Function Clone () As Object

반품

현재 Encoding 개체의 복사본입니다.

구현

특성

설명

원래 Encoding 개체가 읽기 전용인 경우에도 클론을 쓸 수 있습니다. 따라서 클론의 속성을 수정할 수 있습니다.

개체의 단순 복사본은 개체의 복사본일 뿐입니다. 개체에 다른 개체에 대한 참조가 포함된 경우 단순 복사본은 참조된 개체의 복사본을 만들지 않습니다. 대신 원래 개체를 참조합니다. 반면, 개체의 전체 복사본은 개체의 복사본과 해당 개체에서 직접 또는 간접적으로 참조하는 모든 항목의 복사본을 만듭니다.

적용 대상