Condividi tramite


Proprietà Item

Returns a ForEachVariableMapping object from the collection.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    index As Object _
) As ForEachVariableMapping
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Osservazioni

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.