Parameters property

Specifies the parameters for the current statement.

Syntax
Visual Basic

Public Readonly Property Parameters As ULParameterCollection
C#

public ULParameterCollection Parameters  { get;}
Property value

A ULParameterCollection holding the parameters of the SQL statement. The default value is the empty collection.

Remarks

Use question marks in ULCommand.CommandText to indicate parameters. The parameters in the collection are specified in the same order as the question mark placeholders. For example, the first parameter in the collection corresponds to the first question mark in the SQL statement, the second parameter in the collection corresponds to the second question mark in the SQL statement, and so on. There must be at least as many question marks in the ULCommand.CommandText as there are parameters in this collection.

This is the strongly-typed version of System.Data.IDbCommand.Parameters and System.Data.Common.DbCommand.Parameters.

See also