SqlCommand.ICloneable.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new SqlCommand object that is a copy of the current instance.
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 new SqlCommand object that is a copy of this instance.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the SqlCommand instance is cast to an ICloneable interface.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.