This documentation is archived and is not being maintained.

IDbCommand.CreateParameter Method

Creates a new instance of an IDbDataParameter object.

[Visual Basic]
Function CreateParameter() As IDbDataParameter
IDbDataParameter CreateParameter();
IDbDataParameter* CreateParameter();
function CreateParameter() : IDbDataParameter;

Return Value

An IDbDataParameter object.


When inheriting from IDbCommand, a .NET Framework data provider implements a strongly-typed version of CreateParameter.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDbCommand Interface | IDbCommand Members | System.Data Namespace