Version.Clone 方法

定义

返回一个新的 Version 对象,该对象的值与当前的 Version 对象相同。Returns a new Version object whose value is the same as the current Version object.

public:
 virtual System::Object ^ Clone();
public object Clone ();
abstract member Clone : unit -> obj
override this.Clone : unit -> obj
Public Function Clone () As Object

返回

一个新的 Object,其值为当前 Version 对象的副本。A new Object whose values are a copy of the current Version object.

实现

注解

如果返回值的类型很重要,请将此方法返回的 Object 实例转换为 Version 的对象。If the type of the return value is important, cast the Object instance that is returned by this method to a Version object.

适用于