The TimeOfDayConverter type exposes the following members.

Methods

  NameDescription
CanConvertFrom
Returns true if the sourceType is a string.
(Overrides TypeConverter..::.CanConvertFrom(ITypeDescriptorContext, Type).)
ConvertFrom
Converts the given string value into a TimeOfDay.
(Overrides TypeConverter..::.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object).)
ConvertTo
Converts the given TimeOfDay into a string. If the destination type is not a string, then the default operation will be performed.
(Overrides TypeConverter..::.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).)

See Also