Export (0) Print
Expand All

SqlParameterCollection Methods

The methods of the SqlParameterCollection class are listed here. For a complete list of SqlParameterCollection class members, see the SqlParameterCollection Members topic.

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Overloaded. Adds a SqlParameter to the SqlParameterCollection.
public methodClear

Supported by the .NET Compact Framework.

Removes all items from the collection.
public methodContains

Supported by the .NET Compact Framework.

Overloaded. Gets a value indicating whether a SqlParameter exists in the collection.
public methodCopyTo

Supported by the .NET Compact Framework.

Copies SqlParameter objects from the SqlParameterCollection to the specified array.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIndexOf

Supported by the .NET Compact Framework.

Overloaded. Gets the location of a SqlParameter in the collection.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodInsert

Supported by the .NET Compact Framework.

Inserts a SqlParameter into the collection at the specified index.
public methodRemove

Supported by the .NET Compact Framework.

Removes the specified SqlParameter from the collection.
public methodRemoveAt

Supported by the .NET Compact Framework.

Overloaded. Removes the specified SqlParameter from the collection.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

SqlParameterCollection Class | System.Data.SqlClient Namespace

Show:
© 2014 Microsoft