Compartilhar via


Propriedade Item

Returns a ForEachVariableMapping object from the collection.

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

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    index As Object _
) As ForEachVariableMapping
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Comentários

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.