Return Value
A new MySqlBlob object.
public void CloneMySqlBlob() { MySqlBlob myBlob = new MySqlBlob(); myBlob.WriteByte(14); MySqlBlob myBlob2 = (MySqlBlob)myBlob.Clone(); myBlob2.Seek(0,System.IO.SeekOrigin.Begin); Console.WriteLine(myBlob2.ReadByte()); }
Public Sub CloneMySqlBlob() Dim myBlob As MySqlBlob = New MySqlBlob myBlob.WriteByte(14) Dim myBlob2 As MySqlBlob = CType(myBlob.Clone(), MySqlBlob) myBlob2.Seek(0, System.IO.SeekOrigin.Begin) Console.WriteLine(myBlob2.ReadByte()) End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2