Click or drag to resize
EmailWidgetTemplateInfoProviderAddEmailWidgetToEmailTemplate Method

Note: This API is now obsolete.

Creates EmailWidgetTemplateInfo binding.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IEmailWidgetTemplateInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - EmailWidgetTemplateInfo.Provider.")]
public static void AddEmailWidgetToEmailTemplate(
	int emailwidgetId,
	int emailtemplateId
)

Parameters

emailwidgetId
Type: SystemInt32
Email widget ID
emailtemplateId
Type: SystemInt32
Email template ID
See Also