FilterParameterCollection::Item Property
Gets or sets a filter parameter in the collection at the specified index.
Assembly: Microsoft.Synchronization.Data.Server (in Microsoft.Synchronization.Data.Server.dll)
public: property SqlParameter^ default[int index] { SqlParameter^ get (int index); void set (int index, SqlParameter^ value); }
Parameters
- index
- Type: System::Int32
The zero-based index of the SqlParameter object to return from the FilterParameterCollection.
Property Value
Type: System.Data.SqlClient::SqlParameterA SqlParameter object at the specified index in the collection.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than zero or greater than or equal to the number of parameters in this FilterParameterCollection object. |
| ArgumentNullException | value is a nullptr. |
Show: