Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlParameterCollection Members

Represents a collection of parameters associated with a SqlCommand and their respective mappings to columns in a DataSet. This class cannot be inherited.

The SqlParameterCollection type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Add Overloaded. Adds a SqlParameter to the SqlParameterCollection.
Public method AddRange Overloaded. Adds elements to the end of the SqlParameterCollection.
Public method Supported by the .NET Compact Framework AddWithValue Adds a value to the end of the SqlParameterCollection.
Public method Supported by the .NET Compact Framework Clear Removes all the SqlParameter objects from the SqlParameterCollection. (Overrides DbParameterCollection.Clear().)
Public method Supported by the .NET Compact Framework Contains Overloaded. Determines whether the specified object is in this SqlParameterCollection.
Public method Supported by the .NET Compact Framework CopyTo Overloaded. Copies all the elements of the current SqlParameterCollection to the specified object.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetEnumerator Returns an enumerator that iterates through the SqlParameterCollection. (Overrides DbParameterCollection.GetEnumerator().)
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetParameter Overloaded. Gets the DbParameter with the specified property value.
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework IndexOf Overloaded. Gets the location of the specified SqlParameter within the collection.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Insert Overloaded. Inserts a SqlParameter object into the SqlParameterCollection.
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Public method Supported by the .NET Compact Framework Remove Overloaded. Removes the specified SqlParameter from the collection.
Public method Supported by the .NET Compact Framework RemoveAt Overloaded. Removes the SqlParameter object from the SqlParameterCollection at the specified index.
Protected method SetParameter Overloaded. Sets the specified parameter to the specified value.
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Count Returns an Integer that contains the number of elements in the SqlParameterCollection. Read-only. (Overrides DbParameterCollection.Count.)
Public property IsFixedSize Gets a value that indicates whether the SqlParameterCollection has a fixed size. (Overrides DbParameterCollection.IsFixedSize.)
Public property IsReadOnly Gets a value that indicates whether the SqlParameterCollection is read-only. (Overrides DbParameterCollection.IsReadOnly.)
Public property IsSynchronized Gets a value that indicates whether the SqlParameterCollection is synchronized. (Overrides DbParameterCollection.IsSynchronized.)
Public property Supported by the .NET Compact Framework Item Overloaded. Gets the SqlParameter with a specified attribute.
Public property SyncRoot Gets an object that can be used to synchronize access to the SqlParameterCollection. (Overrides DbParameterCollection.SyncRoot.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft