Click or drag to resize
DateTimeContainer Class
Object encapsulating DateTime objects to be accessible via macro engine.
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineDateTimeContainer

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntax
C#
public class DateTimeContainer : IDataContainer, 
	ISimpleDataContainer, IConvertible, IFormattable

The DateTimeContainer type exposes the following members.

Constructors
  NameDescription
Public methodDateTimeContainer
Creates new instance of DateTimeContainer.
Top
Properties
  NameDescription
Public propertyColumnNames
Column names.
Public propertyCulture
Gets or sets the culture of the date time (for ToString formatting purposes).
Public propertyDateTime
Gets the encapsulated DateTime.
Public propertyItem
Gets the value of the column, setter is not implemented.
Top
Methods
  NameDescription
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodEquals
Returns true if date times are same.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns hash code.
(Overrides ObjectGetHashCode.)
Public methodGetTypeCode
Returns the TypeCode for this instance.
Public methodGetValue
Gets or sets the value of the column.
Public methodSetValue
Not implemented.
Public methodToBoolean
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
Public methodToByte
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
Public methodToChar
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
Public methodToDateTime
Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
Public methodToDecimal
Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
Public methodToDouble
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
Public methodToInt16
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
Public methodToInt32
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
Public methodToInt64
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
Public methodToSByte
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
Public methodToSingle
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
Public methodToString
Returns string representation of datetime.
(Overrides ObjectToString.)
Public methodToString(IFormatProvider)
Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
Public methodToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
Public methodToType
Converts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.
Public methodToUInt16
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
Public methodToUInt32
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
Public methodToUInt64
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
Public methodTryGetValue
Returns value of column.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, Boolean)Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Public Extension MethodToXML(String, Boolean)Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, ListString, Boolean)Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Top
See Also