Item Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the values for the custom properties for the inventory SKU.
Namespace: Microsoft.CommerceServer.Inventory
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Property Item ( _
propertyName As String _
) As Object
'Usage
Dim instance As InventorySku
Dim propertyName As String
Dim value As Object
value = instance.Item(propertyName)
instance.Item(propertyName) = value
public Object Item[
string propertyName
] { get; set; }
public:
property Object^ Item[String^ propertyName] {
Object^ get (String^ propertyName);
void set (String^ propertyName, Object^ value);
}
JScript does not support indexed properties.
Parameters
- propertyName
Type: System..::.String
The name of the custom property.
Property Value
Type: System..::.Object
An object containing the value of the custom property.
Remarks
Provides access the Information, a Dataset. Returns the Information with the specified name.
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.