Proprietà DynamicValue.Item (String)
Ottiene o imposta un elemento in base al nome.
Spazio dei nomi Microsoft.Activities
Assembly: Microsoft.Activities (in Microsoft.Activities.dll)
Sintassi
'Dichiarazione
Public Default Property Item ( _
key As String _
) As DynamicValue
Get
Set
'Utilizzo
Dim instance As DynamicValue
Dim key As String
Dim value As DynamicValue
value = instance(key)
instance(key) = value
public DynamicValue this[
string key
] { get; set; }
public:
property DynamicValue^ default[String^ key] {
DynamicValue^ get (String^ key);
void set (String^ key, DynamicValue^ value);
}
member Item : DynamicValue with get, set
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- key
Tipo: System.String
Nome dell'elemento.
Valore proprietà
Tipo: Microsoft.Activities.DynamicValue
Elemento con il nome specificato.