Condividi tramite


Item Property

Gets or sets the object with the specified name.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public MustOverride Property Item ( _
    propertyName As String _
) As Object
'Usage
Dim instance As CatalogObject
Dim propertyName As String
Dim value As Object

value = instance.Item(propertyName)

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

Parameters

Property Value

Type: System..::.Object
A string containing the property name.

Remarks

Used as shorthand into the Information DataSet. Identical to this.Information.Tables[0].Rows[0][propertyName]. In C# as catalogObject[propertyName]. This property may be nullNothingnullptra null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

CatalogObject Class

CatalogObject Members

Microsoft.CommerceServer.Catalog Namespace