Calendar.Clone 方法

定義

建立目前 Calendar 物件複本的新物件。Creates a new object that is a copy of the current Calendar object.

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
Public Overridable Function Clone () As Object

傳回

Object 的新執行個體,它是目前 Calendar 物件的成員複製品。A new instance of Object that is the memberwise clone of the current Calendar object.

實作

屬性

備註

新的成員複製不是唯讀的。The new memberwise clone is not read-only.

適用於

另請參閱