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