Поделиться через


Item Property

Gets or sets a value in the ContentSelector dictionary of name-value pairs.

Namespace:  Microsoft.CommerceServer.Runtime.Targeting
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

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

value = instance.Item(key)

instance.Item(key) = value
public Object Item[
    string key
] { get; set; }
public:
property Object^ Item[String^ key] {
    Object^ get (String^ key);
    void set (String^ key, Object^ value);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: System..::.Object
An object that gets or sets a value in the ContentSelector dictionary of name/value pairs

Remarks

Stores a value in the ContentSelector dictionary of name-value pairs.

Permissions

See Also

Reference

ContentSelector Class

ContentSelector Members

Microsoft.CommerceServer.Runtime.Targeting Namespace