ContentSelectionContexts Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the ContentSelectionContextCollection built based on the contentSelection portion of the CommerceServer section in web.config.
Namespace: Microsoft.CommerceServer.Runtime.Targeting
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Shared ReadOnly Property ContentSelectionContexts As ContentSelectionContextCollection
'Usage
Dim value As ContentSelectionContextCollection
value = CommerceContentSelectionModule.ContentSelectionContexts
public static ContentSelectionContextCollection ContentSelectionContexts { get; }
public:
static property ContentSelectionContextCollection^ ContentSelectionContexts {
ContentSelectionContextCollection^ get ();
}
public static function get ContentSelectionContexts () : ContentSelectionContextCollection
Property Value
Type: Microsoft.CommerceServer.Runtime.Targeting..::.ContentSelectionContextCollection
The ContentSelectionContextCollection.
Remarks
The returned value will be nullNothingnullptra null reference (Nothing in Visual Basic) if the CommerceContentSelectionModule was not configured in web.config.
ASP.Net pages should reference this via the CommerceContext.Current.TargetingSystem.MarketingExpressionEvaluator property.
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
CommerceContentSelectionModule Class