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
- key
Type: System..::.String
The name of the key to get or set.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.