Clone Method

MySQL Connector/Net

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.2.2.0

Syntax

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

Return Value

The cloned MySqlCommand object

See Also