DateTimeDateTimeUTCConverterCreateInstance Method (ITypeDescriptorContext, IDictionary) |
Creates an instance of the Type that this
TypeConverter is associated with (datetime)
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public override Object CreateInstance(
ITypeDescriptorContext context,
IDictionary propertyValues
)
Public Overrides Function CreateInstance (
context As ITypeDescriptorContext,
propertyValues As IDictionary
) As Object
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
ignored. - propertyValues
- Type: System.CollectionsIDictionary
ignored.
Return Value
Type:
Object
An
Object of type datetime. It always returns DateTime.Now for this converter.
See Also