This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
SQLParameters Methods
The methods of the SQLParameters class are listed below. For a complete list of SQLParameters class members, see the SQLParameters Members topic.
Public:
Add |
Adds a SQLParameter to the SQLCommand when given the parameter. |
Clear |
Removes all items from the collection. |
Contains |
Overloaded. Indicates whether a parameter is in the collection. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
IndexOf |
Overloaded. Returns the location of the SQLParameter within the collection. |
Remove |
Removes the SQLParameter from the collection given the value. |
RemoveAt |
Overloaded. Removes the SQLParameter from the collection. |
ShouldPersistAll |
Indicates whether parameters are persisting. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
SQLParameters Class | System.Data.SQL Namespace