Share via


ForEachVariableMappings.Item Property

Returns a ForEachVariableMapping object from the collection.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Object _
) As ForEachVariableMapping
    Get
'Usage
Dim instance As ForEachVariableMappings
Dim index As Object
Dim value As ForEachVariableMapping

value = instance(index)
public ForEachVariableMapping this[
    Object index
] { get; }
public:
property ForEachVariableMapping^ default[Object^ index] {
    ForEachVariableMapping^ get (Object^ index);
}
member Item : ForEachVariableMapping
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Remarks

If the call to the Contains method returns true, you can access the specified element in the collection by using the syntax ForEachVariableMappings[index]. However, if the Contains method returns false, this property throws an exception. In C#, this property is the indexer for the ForEachVariableMappings class.