DbParameterCollection Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The base class for a collection of parameters relevant to a DbCommand.
public ref class DbParameterCollection abstract : System::Collections::IList
public ref class DbParameterCollection abstract : MarshalByRefObject, System::Collections::IList, System::Data::IDataParameterCollection
public ref class DbParameterCollection abstract : System::Collections::IList, System::Data::IDataParameterCollection
public ref class DbParameterCollection abstract : MarshalByRefObject, System::Data::IDataParameterCollection
public abstract class DbParameterCollection : System.Collections.IList
public abstract class DbParameterCollection : MarshalByRefObject, System.Collections.IList, System.Data.IDataParameterCollection
public abstract class DbParameterCollection : System.Collections.IList, System.Data.IDataParameterCollection
public abstract class DbParameterCollection : MarshalByRefObject, System.Data.IDataParameterCollection
type DbParameterCollection = class
interface ICollection
interface IEnumerable
interface IList
type DbParameterCollection = class
inherit MarshalByRefObject
interface ICollection
interface IEnumerable
interface IList
interface IDataParameterCollection
type DbParameterCollection = class
interface ICollection
interface IEnumerable
interface IList
interface IDataParameterCollection
type DbParameterCollection = class
inherit MarshalByRefObject
interface IDataParameterCollection
interface IList
interface ICollection
interface IEnumerable
Public MustInherit Class DbParameterCollection
Implements IList
Public MustInherit Class DbParameterCollection
Inherits MarshalByRefObject
Implements IDataParameterCollection, IList
Public MustInherit Class DbParameterCollection
Implements IDataParameterCollection, IList
Public MustInherit Class DbParameterCollection
Inherits MarshalByRefObject
Implements IDataParameterCollection
- Inheritance
-
DbParameterCollection
- Inheritance
- Derived
- Implements
Db |
Initializes a new instance of the DbParameterCollection class. |
Count |
Specifies the number of items in the collection. |
Is |
Specifies whether the collection is a fixed size. |
Is |
Specifies whether the collection is read-only. |
Is |
Specifies whether the collection is synchronized. |
Item[Int32] |
Gets or sets the DbParameter at the specified index. |
Item[String] |
Gets or sets the DbParameter with the specified name. |
Sync |
Specifies the Object to be used to synchronize access to the collection. |
Add(Object) |
Adds the specified DbParameter object to the DbParameterCollection. |
Add |
Adds an array of items with the specified values to the DbParameterCollection. |
Clear() |
Removes all DbParameter values from the DbParameterCollection. |
Contains(Object) |
Indicates whether a DbParameter with the specified Value is contained in the collection. |
Contains(String) |
Indicates whether a DbParameter with the specified name exists in the collection. |
Copy |
Copies an array of items to the collection starting at the specified index. |
Create |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Exposes the GetEnumerator() method, which supports a simple iteration over a collection by a .NET data provider. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Obsolete.
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
Get |
Returns the DbParameter object at the specified index in the collection. |
Get |
Returns DbParameter the object with the specified name. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Index |
Returns the index of the specified DbParameter object. |
Index |
Returns the index of the DbParameter object with the specified name. |
Initialize |
Obsolete.
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
Insert(Int32, Object) |
Inserts the specified index of the DbParameter object with the specified name into the collection at the specified index. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject) |
Remove(Object) |
Removes the specified DbParameter object from the collection. |
Remove |
Removes the DbParameter object at the specified from the collection. |
Remove |
Removes the DbParameter object with the specified name from the collection. |
Set |
Sets the DbParameter object at the specified index to a new value. |
Set |
Sets the DbParameter object with the specified name to a new value. |
To |
Returns a string that represents the current object. (Inherited from Object) |
ICollection. |
Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
IData |
Gets or sets the parameter at the specified index. |
IList. |
For a description of this member, see Add(Object). |
IList. |
For a description of this member, see Contains(Object). |
IList. |
For a description of this member, see IndexOf(Object). |
IList. |
For a description of this member, see Insert(Int32, Object). |
IList. |
Gets a value indicating whether the IList has a fixed size. |
IList. |
Gets a value indicating whether the IList is read-only. |
IList. |
Gets or sets the element at the specified index. |
IList. |
For a description of this member, see Remove(Object). |
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
Of |
Filters the elements of an IEnumerable based on a specified type. |
As |
Enables parallelization of a query. |
As |
Converts an IEnumerable to an IQueryable. |
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: