Click or drag to resize
NewsletterHelperToContactSubscriber Method
Creates a subscriber from a contact.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 11.0.0
Syntax
C#
public static SubscriberInfo ToContactSubscriber(
	this ContactInfo contact
)

Parameters

contact
Type: CMS.ContactManagementContactInfo
Contact to create subscriber from.

Return Value

Type: SubscriberInfo

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ContactInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also