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
public ForEachVariableMapping this [
    Object index
] { get; }
public:
property ForEachVariableMapping^ default [Object^] {
    ForEachVariableMapping^ get (Object^ index);
}
/** @property */
public ForEachVariableMapping get_Item (Object index)

Parameters

Property Value

A ForEachVariableMapping object.

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ForEachVariableMappings Class
ForEachVariableMappings Members
Microsoft.SqlServer.Dts.Runtime Namespace