Collection Contents Previous Next PDF

UltraLite.NET User's Guide

iAnywhere.Data.UltraLite namespace

ULParameterCollection class


Represents all parameters to a ULCommand class.

Prototypes 

' Visual Basic
NotInheritable Public Class ULParameterCollection
  Implements IDataParameterCollection, IList, ICollection,
    IEnumerable

// C#
public sealed class ULParameterCollection :
  IDataParameterCollection, IList,
  ICollection, IEnumerable

Remarks 

All parameters in the collection are treated as positional parameters and are specified in the same order as the question mark placeholders in the CommandText property. 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 CommandText property as there are parameters in the collection. Nulls are substituted for missing parameters.

There is no constructor for ULParameterCollection. You obtain a ULParameterCollection from the Parameters property property.

Implements: [external link] IDataParameterCollection


ULParameterCollection members
Count property
Item property
Item property
Add method
Add method
Add method
Add method
Add method
Add method
Clear method
Contains method
Contains method
CopyTo method
GetEnumerator method
IndexOf method
IndexOf method
Insert method
Remove method
RemoveAt method
RemoveAt method

Collection Contents Previous Next PDF