Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.DataProtection Namespaces
CMS.DataProtection
Consent Class
Consent Methods
GetConsentText Method
Consent
GetConsentText Method
Gets consent's text for specific
cultureCode
.
Namespace:
CMS.DataProtection
Assembly:
CMS.DataProtection (in CMS.DataProtection.dll) Version: 12.0.0
Syntax
C#
Copy
public
ConsentText
GetConsentText
(
string
cultureCode
)
Parameters
cultureCode
Type:
System
String
Culture code of consent.
Return Value
Type:
ConsentText
Language specific consent's text.
Exceptions
Exception
Condition
ArgumentException
Thrown when
cultureCode
is null or empty.
See Also
Reference
Consent Class
CMS.DataProtection Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com