DynamicValue.Item Property (String)
Gets or sets an item by name.
Namespace: Microsoft.Activities
Assembly: Microsoft.Activities (in Microsoft.Activities.dll)
Syntax
'Declaration
<DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)> _
Public Default Property Item ( _
key As String _
) As DynamicValue
Get
Set
'Usage
Dim instance As DynamicValue
Dim key As String
Dim value As DynamicValue
value = instance(key)
instance(key) = value
[DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)]
public DynamicValue this[
string key
] { get; set; }
[DebuggerBrowsableAttribute(DebuggerBrowsableState::Never)]
public:
virtual property DynamicValue^ default[String^ key] {
DynamicValue^ get (String^ key) sealed;
void set (String^ key, DynamicValue^ value) sealed;
}
[<DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)>]
abstract Item : DynamicValue with get, set
[<DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)>]
override Item : DynamicValue with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- key
Type: System.String
The name of the item.
Property Value
Type: Microsoft.Activities.DynamicValue
The item with the specified name.
Implements
IDictionary<TKey, TValue>.Item