Click or drag to resize
Consent Class
Represents a consent which contains text either from ConsentInfo or ConsentArchiveInfo, depending on which version of the consent's text has been agreed by the contact.
Inheritance Hierarchy
SystemObject
  CMS.DataProtectionConsent

Namespace: CMS.DataProtection
Assembly: CMS.DataProtection (in CMS.DataProtection.dll) Version: 12.0.0
Syntax
C#
public class Consent

The Consent type exposes the following members.

Constructors
  NameDescription
Public methodConsent
Top
Properties
  NameDescription
Public propertyDisplayName
Consent display name.
Public propertyHash
Consent hash.
Public propertyId
Consent ID.
Public propertyName
Consent name.
Top
Methods
  NameDescription
Public methodGetConsentText
Gets consent's text for specific cultureCode.
Top
See Also