DataGridViewCellStyle.ICloneable.Clone 方法

定義

建立這個 DataGridViewCellStyle 的完全相同複本。Creates an exact copy of this DataGridViewCellStyle.

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

傳回

Object

DataGridViewCellStyle,表示與此儲存格樣式完全一樣的複本。A DataGridViewCellStyle that represents an exact copy of this cell style.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 DataGridViewCellStyle 執行個體轉換成 ICloneable 介面時,才能使用這個成員。It can be used only when the DataGridViewCellStyle instance is cast to an ICloneable interface.

適用於

另請參閱