This documentation is archived and is not being maintained.

OleDbCommand.CreateParameter Method

Creates a new instance of an OleDbParameter object.

[Visual Basic]
Public Function CreateParameter() As OleDbParameter
public OleDbParameter CreateParameter();
public: OleDbParameter* CreateParameter();
public function CreateParameter() : OleDbParameter;

Return Value

An OleDbParameter object.


The CreateParameter method is 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

See Also

OleDbCommand Class | OleDbCommand Members | System.Data.OleDb Namespace