Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Messaging Namespace / EmailTemplateTriggerCollection Class / IndexOf Method
The list of EmailTemplateTrigger items.
Value of emailTemplateId of the required object.
Value of eventId of the required object.
In This Topic
    IndexOf Method (EmailTemplateTriggerCollection)
    In This Topic
    Gets the index of the EmailTemplateTrigger object in this collection whose primary key matches the given value.
    Syntax

    Parameters

    items
    The list of EmailTemplateTrigger items.
    emailTemplateId
    Value of emailTemplateId of the required object.
    eventId
    Value of eventId of the required object.

    Return Value

    Index of the required object.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also