Item Property
Gets or sets properties of the specified propertyName.
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 CatalogDefinition
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 at the specified propertyName.
Remarks
This property provides the ability to access a specific element in the collection by using the propertyName.
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.