Partager via


Item Property (Int32)

Gets a ProfileProperty from the current collection, based upon the specified index.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As ProfileProperty
'Usage
Dim instance As ProfilePropertyCollection
Dim index As Integer
Dim value As ProfileProperty

value = instance.Item(index)
public ProfileProperty Item[
    int index
] { get; }
public:
property ProfileProperty^ Item[int index] {
    ProfileProperty^ get (int index);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileProperty
The ProfileProperty from the collection based on the index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is outside the range of the ProfileProperty objects.

Remarks

Retrieves a Profile from the current collection with the specified index.

Permissions

See Also

Reference

ProfilePropertyCollection Class

ProfilePropertyCollection Members

Item Overload

Microsoft.CommerceServer.Runtime.Profiles Namespace