Partilhar via


Targets Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the collection of ExpressionTargets associated with the current DisplayableCampaignItem instance.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public ReadOnly Property Targets As ExpressionTargetCollection
'Usage
Dim instance As DisplayableCampaignItem
Dim value As ExpressionTargetCollection

value = instance.Targets
public ExpressionTargetCollection Targets { get; }
public:
property ExpressionTargetCollection^ Targets {
    ExpressionTargetCollection^ get ();
}
public function get Targets () : ExpressionTargetCollection

Property Value

Type: Microsoft.CommerceServer.Marketing..::.ExpressionTargetCollection
Describes a collection of ExpressionTarget objects. Default is an empty collection.

Remarks

A set of expression/action pairs. Used to select a single content item (an Ad for example) for display when several items fit the search criteria.

Permissions

See Also

Reference

DisplayableCampaignItem Class

DisplayableCampaignItem Members

Microsoft.CommerceServer.Marketing Namespace