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