DateTimeContainer MembersKentico 8.1 API Reference
The DateTimeContainer type exposes the following members.
Constructors

  NameDescription
Public methodDateTimeContainer
Creates new instance of DateTimeContainer.
Back to Top
Methods

  NameDescription
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodEquals
Returns true if date times are same.
(Overrides OnlineObject Equals(Object).)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetHashCode
Returns hash code.
(Overrides OnlineObject GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetTypeCode
Returns the TypeCode for this instance.
Public methodGetValue
Gets or sets the value of the column.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
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 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 methodToChar
Converts the value of this instance to an equivalent Unicode character 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 OnlineObject ToString .)
Public methodToString(IFormatProvider)
Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
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.
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Back to 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.
Back to Top
See Also