SqlCeParameterCollection.IndexOf Method (String)
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Gets the location of the SqlCeParameter in the collection with the specified parameter name.
[Visual Basic] Overloads Public Overridable Function IndexOf( _ ByVal parameterName As String _ ) As Integer Implements IDataParameterCollection.IndexOf [C#] public virtual int IndexOf(string parameterName ); [C++] public: virtual int IndexOf(String* parameterName ); [JScript] public function IndexOf( parameterName : String) : int;
Parameters
- parameterName
The name of the parameter to find.
Return Value
The location of the SqlCeParameter in the collection.
Implements
IDataParameterCollection.IndexOf
Requirements
Platforms: .NET Compact Framework
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
SqlCeParameterCollection Class | SqlCeParameterCollection Members | System.Data.SqlServerCe Namespace | SqlCeParameterCollection.IndexOf Overload List
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.