Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Personas Namespaces
CMS.Personas
ContactInfoExtensions Class
ContactInfoExtensions Methods
GetPersona Method
ContactInfoExtensions
GetPersona Method
Returns
PersonaInfo
of the contact.
Namespace:
CMS.Personas
Assembly:
CMS.Personas (in CMS.Personas.dll) Version: 12.0.0
Syntax
C#
Copy
public
static
PersonaInfo
GetPersona
(
this
ContactInfo
contact
)
Parameters
contact
Type:
CMS.ContactManagement
ContactInfo
Contact of which we want to get persona.
Return Value
Type:
PersonaInfo
Persona of current contact.
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
Reference
ContactInfoExtensions Class
CMS.Personas Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com