Share via


TargetingSystemInfo.TargetingContextProfile Property (BCL)

The TargetingContextProfile property is a read/write Profile that gets or sets the TargetingContext profile for use on the page. The TargetingContext profile is used to pass runtime properties into the ContentSelector or ExpressionEvaluator objects for targeting.

Definition

[Visual Basic .NET]

Public Property TargetingContextProfile As Profile

[C#]

public Profile TargetingContextProfile{get; set;} 

Property Value

The TargetingContext profile for use on the page.

Remarks

If the property is accessed before it is explicitly set, a new instance will automatically be created and returned.

Although this property is not available in the Commerce Server COM object model, ASP-based sites can use the Commerce.GenId class to manually create a new Guid for each instance of the TargetingContext profile that is created and assign that to the unique_id property. For more information, see Expression Programming Concepts.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Targeting

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.