Item Property
Gets a ProfileProperty from the ProfilePropertyGroup, 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 ( _
propertyName As String _
) As ProfileProperty
'Usage
Dim instance As ProfilePropertyGroup
Dim propertyName As String
Dim value As ProfileProperty
value = instance.Item(propertyName)
public ProfileProperty Item[
string propertyName
] { get; }
public:
property ProfileProperty^ Item[String^ propertyName] {
ProfileProperty^ get (String^ propertyName);
}
JScript does not support indexed properties.
Parameters
- propertyName
Type: System..::.String
The name of the ProfileProperty to retrieve.
Property Value
Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileProperty
The ProfileProperty from the ProfilePropertyGroup based on the name.
Remarks
Retrieves a ProfileProperty from the ProfilePropertyGroup based on the 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.