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
- parent
Type: Microsoft.CommerceServer.Marketing..::.CampaignItemManager
Parent CampaignItemManager object.
- 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
- 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.