NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SQLParameters Members

Public:

Properties

All Gets all instances of SQLParameter objects collected.
Count Gets the number of parameters in the collection.
Item Overloaded. [To be supplied.]

In C#, this member is the indexer for the SQLParameters class.

Parent Gets the reference to the SQLCommand that is the parent of this instance.

Methods

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:

Methods

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