Share via


SqlSyncSqlParameterCollection Class

Represents a collection of SqlParameter objects that can be indexed by the name of the parameter.

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<SqlParameter>
    Microsoft.Synchronization.Data.SqlServer.SqlSyncSqlParameterCollection

Namespace:  Microsoft.Synchronization.Data.SqlServer
Assembly:  Microsoft.Synchronization.Data.SqlServer (in Microsoft.Synchronization.Data.SqlServer.dll)

Syntax

'Declaration
Public Class SqlSyncSqlParameterCollection _
    Inherits Collection(Of SqlParameter)
'Usage
Dim instance As SqlSyncSqlParameterCollection
public class SqlSyncSqlParameterCollection : Collection<SqlParameter>
public ref class SqlSyncSqlParameterCollection : public Collection<SqlParameter^>
type SqlSyncSqlParameterCollection =  
    class
        inherit Collection<SqlParameter>
    end
public class SqlSyncSqlParameterCollection extends Collection<SqlParameter>

The SqlSyncSqlParameterCollection type exposes the following members.

Constructors

  Name Description
Public method SqlSyncSqlParameterCollection Initializes a new instance of the SqlSyncSqlParameterCollection class.

Top

Properties

  Name Description
Public property Count (Inherited from Collection<SqlParameter>.)
Public property Item[Int32] (Inherited from Collection<SqlParameter>.)
Public property Item[String] An indexer property that gets the parameter object with the specified name in the collection.
Protected property Items (Inherited from Collection<SqlParameter>.)

Top

Methods

  Name Description
Public method Add (Inherited from Collection<SqlParameter>.)
Public method Clear (Inherited from Collection<SqlParameter>.)
Protected method ClearItems (Inherited from Collection<SqlParameter>.)
Public method Contains (Inherited from Collection<SqlParameter>.)
Public method CopyTo (Inherited from Collection<SqlParameter>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator (Inherited from Collection<SqlParameter>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf (Inherited from Collection<SqlParameter>.)
Public method Insert (Inherited from Collection<SqlParameter>.)
Protected method InsertItem (Inherited from Collection<SqlParameter>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove (Inherited from Collection<SqlParameter>.)
Public method RemoveAt (Inherited from Collection<SqlParameter>.)
Protected method RemoveItem (Inherited from Collection<SqlParameter>.)
Protected method SetItem (Inherited from Collection<SqlParameter>.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate property ICollection<T>.IsReadOnly (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate property IList.Item (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from Collection<SqlParameter>.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from Collection<SqlParameter>.)

Top

Remarks

This class is used to represent the collection of filter parameters that are used to control which items are enumerated from a parameter-based filter.

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.

See Also

Reference

Microsoft.Synchronization.Data.SqlServer Namespace

Other Resources

How to: Filter Data for Database Synchronization (SQL Server)