Click or drag to resize
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.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 9.0.0
Syntax
C#
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: Int32
See Also