SqlSyncSqlParameterCollection.Item Property (String)
An indexer property that gets the parameter object with the specified name in the collection.
Namespace: Microsoft.Synchronization.Data.SqlServer
Assembly: Microsoft.Synchronization.Data.SqlServer (in Microsoft.Synchronization.Data.SqlServer.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
parameterName As String _
) As SqlParameter
Get
'Usage
Dim instance As SqlSyncSqlParameterCollection
Dim parameterName As String
Dim value As SqlParameter
value = instance(parameterName)
public SqlParameter this[
string parameterName
] { get; }
public:
property SqlParameter^ default[String^ parameterName] {
SqlParameter^ get (String^ parameterName);
}
member Item : SqlParameter
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- parameterName
Type: System.String
The name of the parameter to retrieve from the collection.
Property Value
Type: System.Data.SqlClient.SqlParameter
The parameter object with the specified name in the collection.