EmailInfoProviderGetPreviousNext Method |
Returns the previous and next e-mails of the given e-mail in the order specified by ORDER BY parameter matching the WHERE criteria.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 12.0.0
Syntax public static int[] GetPreviousNext(
int emailId,
string where,
string orderBy
)
Parameters
- emailId
- Type: SystemInt32
ID of the e-mail relative to which the previous and next e-mails are returned - where
- Type: SystemString
Where condition - orderBy
- Type: SystemString
Order by columns
Return Value
Type:
Int32See Also