Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- propertyName
Type: System..::.String
The property name of the object.
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
- 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.