Share via


Item Property (String)

Gets a ProfilePropertyAttribute from the current collection, based upon the specified name.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    name As String _
) As ProfilePropertyAttribute
'Usage
Dim instance As ProfilePropertyAttributeCollection
Dim name As String
Dim value As ProfilePropertyAttribute

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

Parameters

Property Value

Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfilePropertyAttribute
The ProfilePropertyAttribute from the collection based on the name.

Remarks

Retrieves a ProfilePropertyAttribute from the current collection with the specified name.

Permissions

See Also

Reference

ProfilePropertyAttributeCollection Class

ProfilePropertyAttributeCollection Members

Item Overload

Microsoft.CommerceServer.Runtime.Profiles Namespace