dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlParameterCollection Class / Add Method / Add(String,Object) Method
The name of the parameter.
The Devart.Common.DbParameterBase.Value of the PgSqlParameter to add to the collection.

Add(String,Object) Method
Adds a PgSqlParameter to the PgSqlParameterCollection given the parameter name and value.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal parameterName As String, _
   ByVal value As Object _
) As PgSqlParameter
 

Parameters

parameterName
The name of the parameter.
value
The Devart.Common.DbParameterBase.Value of the PgSqlParameter to add to the collection.

Return Value

The new PgSqlParameter object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also