Item Property
Gets or sets a context key by name.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property Item ( _
keyName As String _
) As Object
'Usage
Dim instance As PipelineInfo
Dim keyName As String
Dim value As Object
value = instance.Item(keyName)
instance.Item(keyName) = value
public Object Item[
string keyName
] { get; set; }
public:
property Object^ Item[String^ keyName] {
Object^ get (String^ keyName);
void set (String^ keyName, Object^ value);
}
JScript does not support indexed properties.
Parameters
- keyName
Type: System..::.String
The name of the key.
Property Value
Type: System..::.Object
The name of the key.
Remarks
This accesses the underlying Dictionary to set or get a property.
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.