DbParameterCollection Class

 

The base class for a collection of parameters relevant to a DbCommand.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)


[<AbstractClass>]
type DbParameterCollection = 
    class
        inherit MarshalByRefObject
        interface IDataParameterCollection
        interface IList
        interface ICollection
        interface IEnumerable
    end

NameDescription
System_CAPS_protmethodDbParameterCollection()

Initializes a new instance of the DbParameterCollection class.

NameDescription
System_CAPS_pubpropertyCount

Specifies the number of items in the collection.

System_CAPS_pubpropertyIsFixedSize

Specifies whether the collection is a fixed size.

System_CAPS_pubpropertyIsReadOnly

Specifies whether the collection is read-only.

System_CAPS_pubpropertyIsSynchronized

Specifies whether the collection is synchronized.

System_CAPS_pubpropertyItem(Int32)

Gets and sets the DbParameter at the specified index.

System_CAPS_pubpropertyItem(String)

Gets and sets the DbParameter with the specified name.

System_CAPS_pubpropertySyncRoot

Specifies the Object to be used to synchronize access to the collection.

NameDescription
System_CAPS_pubmethodAdd(Object)

Adds the specified DbParameter object to the DbParameterCollection.

System_CAPS_pubmethodAddRange(Array)

Adds an array of items with the specified values to the DbParameterCollection.

System_CAPS_pubmethodClear()

Removes all DbParameter values from the DbParameterCollection.

System_CAPS_pubmethodContains(Object)

Indicates whether a DbParameter with the specified Value is contained in the collection.

System_CAPS_pubmethodContains(String)

Indicates whether a DbParameter with the specified name exists in the collection.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies an array of items to the collection starting at the specified index.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Exposes the GetEnumerator method, which supports a simple iteration over a collection by a .NET Framework data provider.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetParameter(Int32)

Returns the DbParameter object at the specified index in the collection.

System_CAPS_protmethodGetParameter(String)

Returns DbParameter the object with the specified name.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Object)

Returns the index of the specified DbParameter object.

System_CAPS_pubmethodIndexOf(String)

Returns the index of the DbParameter object with the specified name.

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodInsert(Int32, Object)

Inserts the specified index of the DbParameter object with the specified name into the collection at the specified index.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodRemove(Object)

Removes the specified DbParameter object from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the DbParameter object at the specified from the collection.

System_CAPS_pubmethodRemoveAt(String)

Removes the DbParameter object with the specified name from the collection.

System_CAPS_protmethodSetParameter(Int32, DbParameter)

Sets the DbParameter object at the specified index to a new value.

System_CAPS_protmethodSetParameter(String, DbParameter)

Sets the DbParameter object with the specified name to a new value.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.Item(Int32)

Gets or sets the element at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDataParameterCollection.Item(String)

Gets or sets the parameter at the specified index.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<'TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<'TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0

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

Return to top
Show: