IDbCommand.CreateParameter Method

DbCommand::IDbCommand::CreateParameter Method ()

.NET Framework (current version)

Creates a new instance of an IDbDataParameter object.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

virtual IDbDataParameter^ CreateParameter() sealed = IDbCommand::CreateParameter

Return Value

Type: System.Data::IDbDataParameter^

An IDbDataParameter object.

This member is an explicit interface member implementation. It can be used only when the DbCommand instance is cast to an IDbCommand interface.

For more information, see CreateParameter.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft