Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
Switch View
x
Classic
Lightweight Beta
ScriptFree
Switch View
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Data.SqlClient Namespace
Please Wait
SqlParameterCollection Class
Please Wait
SqlParameterCollection Methods
Please Wait
Collapse All
Expand All
Language Filter
Visual Basic
C#
C++
J#
JScript
XAML
F#
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
SqlParameterCollection Methods
The
SqlParameterCollection
type exposes the following members.
Methods
Name
Description
Add
Overloaded.
Adds a
SqlParameter
to the
SqlParameterCollection
.
AddRange
Overloaded.
Adds elements to the end of the
SqlParameterCollection
.
AddWithValue
Adds a value to the end of the
SqlParameterCollection
.
Clear
Removes all the
SqlParameter
objects from the
SqlParameterCollection
.
(Overrides
DbParameterCollection
.
.
::
.
Clear
()
()
()
.)
Contains
Overloaded.
Determines whether the specified object is in this
SqlParameterCollection
.
CopyTo
Overloaded.
Copies all the elements of the current
SqlParameterCollection
to the specified object.
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
.)
Equals
Determines whether the specified
Object
is equal to the current
Object
.
(Inherited from
Object
.)
Finalize
Allows an
Object
to attempt to free resources and perform other cleanup operations before the
Object
is reclaimed by garbage collection.
(Inherited from
Object
.)
GetEnumerator
Returns an enumerator that iterates through the
SqlParameterCollection
.
(Overrides
DbParameterCollection
.
.
::
.
GetEnumerator
()
()
()
.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from
Object
.)
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from
MarshalByRefObject
.)
GetParameter
Overloaded.
Gets the
DbParameter
with the specified property value.
GetType
Gets the
Type
of the current instance.
(Inherited from
Object
.)
IndexOf
Overloaded.
Gets the location of the specified
SqlParameter
within the collection.
InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from
MarshalByRefObject
.)
Insert
Overloaded.
Inserts a
SqlParameter
object into the
SqlParameterCollection
.
MemberwiseClone
Overloaded.
Remove
Overloaded.
Removes the specified
SqlParameter
from the collection.
RemoveAt
Overloaded.
Removes the
SqlParameter
object from the
SqlParameterCollection
at the specified index.
SetParameter
Overloaded.
Sets the specified parameter to the specified value.
ToString
Returns a
String
that represents the current
Object
.
(Inherited from
Object
.)
Top
Extension Methods
Name
Description
Cast
Converts the elements of an
IEnumerable
to the specified type.
(Defined by
Enumerable
.)
OfType
Filters the elements of an
IEnumerable
based on a specified type.
(Defined by
Enumerable
.)
Top
See Also
Reference
SqlParameterCollection Class
System.Data.SqlClient Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement
|
Site Feedback