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!

ADOParameters.Item (String)

Gets the ADOParameter with the specified name.

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

[Visual Basic]
Overloads Overridable Public Default Property Item( _
   ByVal parameterName As String _
) As ADOParameter
[C#]
public ADOParameter this[
   string parameterName
] {virtual get; virtual set;}
[C++]
public: __property virtual ADOParameter* get_Item(
   String* parameterName
);
public: __property virtual void set_Item(
   String* parameterName,
   ADOParameter*
);
[JScript]
returnValue = ADOParametersObject.Item(parameterName);
ADOParametersObject.Item(parameterName) = returnValue;
-or-
returnValue = ADOParametersObject(parameterName);
ADOParametersObject(parameterName) = 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]

parameterName
The name of the parameter to retrieve.

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

parameterName
The name of the parameter to retrieve.

Property Value

The ADOParameter with the specified name.

Exceptions

Exception Type Condition
ParametersSourceIndex The name specified does not exist.

See Also

ADOParameters Class | ADOParameters Members | System.Data.ADO Namespace | ADOParameters.Item Overload List