DataGridViewLinkColumn.Clone DataGridViewLinkColumn.Clone DataGridViewLinkColumn.Clone DataGridViewLinkColumn.Clone Method

定义

创建此列的一个精确副本。Creates an exact copy of this column.

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

返回

一个 Object,表示克隆的 DataGridViewLinkColumnAn Object that represents the cloned DataGridViewLinkColumn.

异常

注解

使用此方法复制链接单元的列。Use this method to duplicate a column of link cells.

继承者说明

当在Clone()派生类中重写时, 调用基类的Clone()方法, 以便将基类的属性复制到新的单元格, 并确保还复制已添加到派生类的任何属性的值。When overriding Clone() in a derived class, call the base class's Clone() method so that the properties of the base class are copied to the new cell, and be sure to also copy the values of any properties that were added to the derived class.

适用于

另请参阅