Método SqlCeParameterCollection.AddWithValue
Adiciona um novo SqlCeParameter à SqlCeParameterCollection e define seu valor.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (em System.Data.SqlServerCe.dll)
Sintaxe
'Declaração
Public Function AddWithValue ( _
parameterName As String, _
value As Object _
) As SqlCeParameter
'Uso
Dim instance As SqlCeParameterCollection
Dim parameterName As String
Dim value As Object
Dim returnValue As SqlCeParameter
returnValue = instance.AddWithValue(parameterName, _
value)
public SqlCeParameter AddWithValue(
string parameterName,
Object value
)
public:
SqlCeParameter^ AddWithValue(
String^ parameterName,
Object^ value
)
member AddWithValue :
parameterName:string *
value:Object -> SqlCeParameter
public function AddWithValue(
parameterName : String,
value : Object
) : SqlCeParameter
Parâmetros
- parameterName
Tipo: System.String
O nome do SqlCeParameter.
- value
Tipo: System.Object
Valor do parameterName.
Valor de retorno
Tipo: System.Data.SqlServerCe.SqlCeParameter