Item Property
Gets a resource property from the CommerceResource based upon the property name.
Namespace: Microsoft.CommerceServer.Runtime.Configuration
Assembly: Microsoft.CommerceServer.Shared (in Microsoft.CommerceServer.Shared.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
propertyName As String _
) As Object
'Usage
Dim instance As CommerceResource
Dim propertyName As String
Dim value As Object
value = instance.Item(propertyName)
public Object Item[
string propertyName
] { get; }
public:
property Object^ Item[String^ propertyName] {
Object^ get (String^ propertyName);
}
JScript does not support indexed properties.
Parameters
- propertyName
Type: System..::.String
The name of the property whose value is retrieved.
Property Value
Type: System..::.Object
The value of the propertyName parameter.
Remarks
The CommerceResource object in the CommerceResource collection with the specified property 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.