DurationConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)
.NET Framework (current version)
Converts a given string value to an instance of Duration.
Assembly: PresentationCore (in PresentationCore.dll)
public: virtual Object^ ConvertFrom( ITypeDescriptorContext^ td, CultureInfo^ cultureInfo, Object^ value ) override
Parameters
- td
-
Type:
System.ComponentModel::ITypeDescriptorContext^
Context information used for conversion.
- cultureInfo
-
Type:
System.Globalization::CultureInfo^
Cultural information that is respected during conversion.
- value
-
Type:
System::Object^
String value to convert to an instance of Duration.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: