The Portrate Interview Engine

ICampaignElementContainer Methods

The methods of the ICampaignElementContainer interface are listed below. For a complete list of ICampaignElementContainer interface members, see the ICampaignElementContainer Members topic.

Public Instance Methods

ClearCampaignElements Removes all campaign elements in this container
GetCampaignElementOverloaded. Locates the current campaign element for the given index. Typically the campaign element returned will be a form ref. The index takes the form "1.2.3.4" where each '.' represents a nested "level" in the element hierarchy.
HasCampaignElement Returns true if the container has the campaign element at the given index, and false if not. This should be used to determine when to move onto the next "super-container" of elements.
NextCampaignElementOverloaded. Returns the next logical element in this campaign relative to the given index. The index takes the form "1.2.3.4" where each '.' in the index is a level in the 'nested' hierarchy of elements. Typically the returned element will be a form reference that can be used to get the actual IFormModel to be displayed next.
RemoveCampaignElement Removes the campaign element at the given index.
SetCampaignElementOverloaded. Sets the campaign element at the given nested index. The index takes a hierarchical form such as '1.2.3.4'. Instances of this interface are constructed at each level in the hierarchy.

See Also

ICampaignElementContainer Interface | Portrate.Interview.Model Namespace