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