Item Property
Gets the ProfileProperty associated with 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 Profile
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 property.
Property Value
Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileProperty
The ProfileProperty associated with the specified name.
Remarks
Gets the ProfileProperty associated with the specified name. When you attempt to access UserID of UserObject profile or an Address profile, ensure you use a curly brackets around the unique identifier. Strings that are stored as a global unique identifier (GUID) must begin and end with curly brackets "{" and "}". The CSOLEDB provider does not convert the GUID without the required beginning and ending curly brackets.
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.