Share via


CampaignItem Constructor

Initializes a new instance of the CampaignItem class using an XML object representing a CampaignItem.

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 CampaignItemData, _
    loadedFromDB As Boolean _
)
'Usage
Dim parent As CampaignItemManager
Dim xmlSerializable As CampaignItemData
Dim loadedFromDB As Boolean

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

Parameters

  • xmlSerializable
    Type: CampaignItemData
    An XML object of type CampaignItemData representing a CampaignItem object. This is typically an object that was retrieved by the web service.

Remarks

Represents the base class for all campaign item types. Provides the base functionality shared by all campaign items.

Permissions

See Also

Reference

CampaignItem Class

CampaignItem Members

Microsoft.CommerceServer.Marketing Namespace