Calendar.Clone 方法

定义

创建表示当前 Calendar 对象副本的新对象。Creates a new object that is a copy of the current Calendar object.

public:
 virtual System::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.

适用于

另请参阅