DataGridViewCellStyle.ICloneable.Clone Method

Definition

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

Returns

A DataGridViewCellStyle that represents an exact copy of this cell style.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DataGridViewCellStyle instance is cast to an ICloneable interface.

Applies to

See also