Item Property

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Gets or sets the value associated with the specified key.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Framework (in Microsoft.Dynamics.Commerce.Runtime.Framework.dll)

Syntax

'Declaration
Public Property Item ( _
    key As String _
) As Object
    Get
    Set
'Usage
Dim instance As CommerceEntity
Dim key As String
Dim value As Object

value = instance.Item(key)

instance.Item(key) = value
public Object this[
    string key
] { get; set; }
public:
property Object^ Item[String^ key] {
    Object^ get (String^ key);
    void set (String^ key, Object^ value);
}

Parameters

Property Value

Type: System.Object
The value stored for the specified key.

See Also

Reference

CommerceEntity Class

Microsoft.Dynamics.Commerce.Runtime.DataModel Namespace