Partajați prin


DisplayableCampaignItem Constructor

Initializes a new instance of the DisplayableCampaignItem class.

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

Syntax

'Declaration
Protected Friend Sub New ( _
    parent As CampaignItemManager, _
    xmlSerializable As DisplayableCampaignItemData, _
    loadedFromDB As Boolean _
)
'Usage
Dim parent As CampaignItemManager
Dim xmlSerializable As DisplayableCampaignItemData
Dim loadedFromDB As Boolean

Dim instance As New DisplayableCampaignItem(parent, _
    xmlSerializable, loadedFromDB)
protected internal DisplayableCampaignItem(
    CampaignItemManager parent,
    DisplayableCampaignItemData xmlSerializable,
    bool loadedFromDB
)
protected public:
DisplayableCampaignItem(
    CampaignItemManager^ parent, 
    DisplayableCampaignItemData^ xmlSerializable, 
    bool loadedFromDB
)
protected internal function DisplayableCampaignItem(
    parent : CampaignItemManager, 
    xmlSerializable : DisplayableCampaignItemData, 
    loadedFromDB : boolean
)

Parameters

  • xmlSerializable
    Type: DisplayableCampaignItemData
    Xml proxy object representing a CampaignItemManager. This is typically an object that was retrieved by the web service.
  • loadedFromDB
    Type: System..::.Boolean
    true if the CampaignItemManager is just loaded from the database; otherwise, false.

Remarks

DisplayableCampaignItem Constructor. This object is not publicly creatable. It is a base of the Discount and Advertisement objects.

Permissions

See Also

Reference

DisplayableCampaignItem Class

DisplayableCampaignItem Members

Microsoft.CommerceServer.Marketing Namespace