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

新的 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.

適用於