Click or drag to resize
EmailWidgetInfoProviderGetEmailWidgetInfo Method (Guid, String)

Note: This API is now obsolete.

Returns EmailWidgetInfo with specified GUID.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IEmailWidgetInfoProvider.Get(System.Guid, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - EmailWidgetInfo.Provider.")]
public static EmailWidgetInfo GetEmailWidgetInfo(
	Guid guid,
	string siteName
)

Parameters

guid
Type: SystemGuid
Email widget GUID.
siteName
Type: SystemString
Site name.

Return Value

Type: EmailWidgetInfo
See Also