Clone Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Creates a clone of this MySqlCommand object. CommandText, Connection, and Transaction properties are included as well as the entire parameter list.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0

Syntax

C#
public MySqlCommand Clone()
Visual Basic
Public Function Clone As MySqlCommand
Visual C++
public:
MySqlCommand^ Clone()

Return Value

The cloned MySqlCommand object

See Also