| DateTimeContainer Class |
Namespace: CMS.MacroEngine
public class DateTimeContainer : IDataContainer, ISimpleDataContainer, IConvertible, IFormattable
The DateTimeContainer type exposes the following members.
| Name | Description | |
|---|---|---|
| DateTimeContainer |
Creates new instance of DateTimeContainer.
|
| Name | Description | |
|---|---|---|
| ColumnNames |
Column names.
| |
| Culture |
Gets or sets the culture of the date time (for ToString formatting purposes).
| |
| DateTime |
Gets the encapsulated DateTime.
| |
| Item |
Gets the value of the column, setter is not implemented.
|
| Name | Description | |
|---|---|---|
| ContainsColumn |
Returns true if the object contains specified column.
| |
| Equals |
Returns true if date times are same.
(Overrides ObjectEquals(Object).) | |
| GetHashCode |
Returns hash code.
(Overrides ObjectGetHashCode.) | |
| GetTypeCode |
Returns the TypeCode for this instance.
| |
| GetValue |
Gets or sets the value of the column.
| |
| SetValue |
Not implemented.
| |
| ToBoolean |
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
| |
| ToByte |
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
| |
| ToChar |
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
| |
| ToDateTime |
Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
| |
| ToDecimal |
Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
| |
| ToDouble |
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
| |
| ToInt16 |
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
| |
| ToInt32 |
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
| |
| ToInt64 |
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
| |
| ToSByte |
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
| |
| ToSingle |
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
| |
| ToString |
Returns string representation of datetime.
(Overrides ObjectToString.) | |
| ToString(IFormatProvider) |
Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
| |
| ToString(String, IFormatProvider) |
Formats the value of the current instance using the specified format.
| |
| ToType |
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.
| |
| ToUInt16 |
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
| |
| ToUInt32 |
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
| |
| ToUInt64 |
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
| |
| TryGetValue |
Returns value of column.
|
| Name | Description | |
|---|---|---|
| CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
| ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
| ToXML(XmlWriter, Boolean) | Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) | |
| ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
| ToXML(XmlWriter, ListString, Boolean) | Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |