Advanced.Data.Provider Documentation

AdpCommand.CreateParameter Method (String, DbType, Int32, String)

[This is preliminary documentation and subject to change.]

Creates a new instance of a AdpParameter object.

[Visual Basic]
Overloads Public Function CreateParameter( _
   ByVal parameterName As String, _
   ByVal dbType As DbType, _
   ByVal size As Integer, _
   ByVal sourceColumn As String _
) As AdpParameter
[C#]
public AdpParameter CreateParameter(
   string parameterName,
   DbType dbType,
   int size,
   string sourceColumn
);

Parameters

parameterName
The name of the AdpParameter.
dbType
The data type of the AdpParameter.
size
The maximum size, in bytes, of the data within the column.
sourceColumn
The name of the source column that is mapped to the DataSet and used for loading or returning the Value.

Return Value

A AdpParameter object.

See Also

AdpCommand Class | Advanced.Data.Provider Namespace | AdpCommand.CreateParameter Overload List