Item Property
Gets the Profile from the current collection, based upon the specified key.
Namespace: Microsoft.CommerceServer.Runtime.Targeting
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
key As String _
) As Object
'Usage
Dim instance As TargetingProfileCollection
Dim key As String
Dim value As Object
value = instance.Item(key)
public Object Item[
string key
] { get; }
public:
property Object^ Item[String^ key] {
Object^ get (String^ key);
}
JScript does not support indexed properties.
Parameters
- key
Type: System..::.String
The key to the Profile object to retrieve.
Property Value
Type: System..::.Object
The specified Profile object.
Remarks
Gets the Profile from the current collection, based upon the specified key.
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
TargetingProfileCollection Class