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!

IDataParameters.Item

Gets the parameter at the specified index.

[C#] In C#, this member is the indexer for the IDataParameters class.

[Visual Basic]
Default Property Item( _
   ByVal index As String _
) As Object
[C#]
object this[
   string index
] {get; set;}
[C++]
Object* get_Item(
   String* index
) = 0;void set_Item(
   String* index,
   Object*
) = 0;
[JScript]
abstract returnValue = IDataParametersObject.Item(index);
IDataParametersObject.Item(index) = returnValue;
-or-
abstract returnValue = IDataParametersObject(index);
IDataParametersObject(index) = returnValue;

[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed Item property whose type is Object and whose index type is String.

Arguments [JScript]

index
The zero-based index of the parameter to retrieve.

Parameters [Visual Basic, C#, C++]

index
The zero-based index of the parameter to retrieve.

Property Value

An Object at the specified index.

See Also

IDataParameters Interface | IDataParameters Members | System.Data.Internal Namespace