Share via


SqlCeParameterCollection Class

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Collects all parameters relevant to a SqlCeCommand as well as their respective mappings to DataSet columns.

For a list of all members of this type, see SqlCeParameterCollection Members.

System.Object
   System.MarshalByRefObject
      System.Data.SqlServerCe.SqlCeParameterCollection

  [Visual Basic]
  NotInheritable Public Class SqlCeParameterCollection
   Inherits MarshalByRefObject
   Implements IDataParameterCollection, IList, ICollection, _
   IEnumerable

  [C#]
  public sealed class SqlCeParameterCollection : MarshalByRefObject,
   IDataParameterCollection, IList, ICollection, IEnumerable

  [C++]
  public __gc __sealed class SqlCeParameterCollection : public
   MarshalByRefObject, IDataParameterCollection, IList,
   ICollection,
   IEnumerable

  [JScript]
  public class SqlCeParameterCollection extends MarshalByRefObject
   implements IDataParameterCollection, IList, ICollection,
   IEnumerable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

The number of parameters in the collection must be equal to the number of parameter placeholders within the command text. Otherwise, the .NET Compact Framework Data Provider for SQL Server CE may raise an error.

Requirements

Namespace: System.Data.SqlServerCe

Platforms: .NET Compact Framework

Assembly: System.Data.Sqlserverce (in System.Data.Sqlserverce.dll)

See Also

SqlCeParameterCollection Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.