dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlParameterCollection Class / AddWithValue Method
Name of the parameter.
Value of the parameter.

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

Parameters

parameterName
Name of the parameter.
value
Value of the parameter.

Return Value

A 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