VistaDB 5






VistaDB.DDA Namespace > IVistaDBTable Interface > GetToFile Method : GetToFile(Int32,String) Method
Zero-based column's index in the row
Name of external file
GetToFile(Int32,String) Method
Read Text, NText, Image data from database and put them to external file.
Syntax
'Declaration
 
Overloads Sub GetToFile( _
   ByVal index As System.Integer, _
   ByVal fileName As System.String _
) 
'Usage
 
Dim instance As IVistaDBTable
Dim index As System.Integer
Dim fileName As System.String
 
instance.GetToFile(index, fileName)
void GetToFile( 
   System.int index,
   System.string fileName
)
procedure GetToFile( 
    index: System.Integer;
    fileName: System.String
); 
function GetToFile( 
   index : System.int,
   fileName : System.String
);
void GetToFile( 
   System.int index,
   System.string* fileName
) 
void GetToFile( 
   System.int index,
   System.String^ fileName
) 

Parameters

index
Zero-based column's index in the row
fileName
Name of external file
Remarks
The method writes text data to the external text file using Encoding assigned to respective character column
Requirements

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

See Also