Click or drag to resize
DateTimeAttributeValueConverter Class
Provides an implementation of the DateTime value converter.
Inheritance Hierarchy

Namespace: CMS.SalesForce
Assembly: CMS.SalesForce (in CMS.SalesForce.dll) Version: 9.0.0
Syntax
C#
public sealed class DateTimeAttributeValueConverter : AttributeValueConverterBase

The DateTimeAttributeValueConverter type exposes the following members.

Constructors
  NameDescription
Public methodDateTimeAttributeValueConverter
Initializes a new instance of the DateTime value converter using the specified attribute model and field info.
Top
Fields
  NameDescription
Protected fieldmAttributeModel
The entity attribute model to convert value to.
(Inherited from AttributeValueConverterBase.)
Protected fieldmFieldInfo
The form field info to convert value from.
(Inherited from AttributeValueConverterBase.)
Top
Methods
  NameDescription
Public methodConvert
Assigns the value from the specified CMS object field to the specified SalesForce entity attribute.
(Overrides AttributeValueConverterBaseConvert(Entity, BaseInfo).)
Public methodGetCompatibilityWarnings
Creates a list of compatibility problems that might occur during the value conversion, and returns it.
(Inherited from AttributeValueConverterBase.)
Protected methodGetUnsupportedFieldTypeMessage
Gets the custom exception message when the form field type is not copmatible with this converter.
(Inherited from AttributeValueConverterBase.)
Top
See Also