The DbBinaryData Constructor(DbBinaryDataProvider,String,DbBinaryDataCommandType,String,String,DbBinaryDataFieldType,String) is available in LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new instance of the DbBinaryData class with explicit parameters.Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal provider As DbBinaryDataProvider, _ ByVal connectionString As String, _ ByVal commandType As DbBinaryDataCommandType, _ ByVal commandText As String, _ ByVal dataFieldName As String, _ ByVal dataFieldType As DbBinaryDataFieldType, _ ByVal dataFieldPathBase As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim provider As DbBinaryDataProvider Dim connectionString As String Dim commandType As DbBinaryDataCommandType Dim commandText As String Dim dataFieldName As String Dim dataFieldType As DbBinaryDataFieldType Dim dataFieldPathBase As String Dim instance As New DbBinaryData(provider, connectionString, commandType, commandText, dataFieldName, dataFieldType, dataFieldPathBase) |
C# | |
---|---|
public DbBinaryData( DbBinaryDataProvider provider, string connectionString, DbBinaryDataCommandType commandType, string commandText, string dataFieldName, DbBinaryDataFieldType dataFieldType, string dataFieldPathBase ) |
C++/CLI | |
---|---|
public: DbBinaryData( DbBinaryDataProvider provider, String^ connectionString, DbBinaryDataCommandType commandType, String^ commandText, String^ dataFieldName, DbBinaryDataFieldType dataFieldType, String^ dataFieldPathBase ) |
Parameters
- provider
- The type of System.Data.Common.DbConnection to be used.
- connectionString
- The connection used to open the data source.
- commandType
- The command type which specifies how to parse the commandText property.
- commandText
- The command text to execute.
- dataFieldName
- The file name.
- dataFieldType
- The field type.
- dataFieldPathBase
- The directory to which to load or save the file.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7