Item Property
Gets or sets the properties of this ProductCatalog, based upon the specified property name.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Overrides Property Item ( _
propertyName As String _
) As Object
'Usage
Dim instance As ProductCatalog
Dim propertyName As String
Dim value As Object
value = instance.Item(propertyName)
instance.Item(propertyName) = value
public override Object Item[
string propertyName
] { get; set; }
public:
virtual property Object^ Item[String^ propertyName] {
Object^ get (String^ propertyName) override;
void set (String^ propertyName, Object^ value) override;
}
JScript does not support indexed properties.
Parameters
- propertyName
Type: System..::.String
The name of the property to access.
Property Value
Type: System..::.Object
The value of the property name parameter.
Remarks
Returns the value of the property with the specified property name. Allows you to get or set the specified property value.
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.