Jaa


Item Property

Gets a CommerceResource from the collection, based upon the resource name.

Namespace:  Microsoft.CommerceServer.Runtime.Configuration
Assembly:  Microsoft.CommerceServer.Shared (in Microsoft.CommerceServer.Shared.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    resourceName As String _
) As CommerceResource
'Usage
Dim instance As CommerceResourceCollection
Dim resourceName As String
Dim value As CommerceResource

value = instance.Item(resourceName)
public CommerceResource Item[
    string resourceName
] { get; }
public:
property CommerceResource^ Item[String^ resourceName] {
    CommerceResource^ get (String^ resourceName);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.CommerceServer.Runtime.Configuration..::.CommerceResource
The CommerceResource object in the CommerceResourceCollection collection with the specified name.

Remarks

Indexer to allow for accessing a CommerceResource based on a resource name. Gets the CommerceResource object in the CommerceResourceCollection collection with the specified name.

Permissions

See Also

Reference

CommerceResourceCollection Class

CommerceResourceCollection Members

Microsoft.CommerceServer.Runtime.Configuration Namespace