RanorexRanorex Documentation
ConvertFrom Method (context, culture, value)
NamespacesRanorexDuration..::.DurationConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Creates a Duration instance from a String.
Declaration Syntax
C#Visual BasicVisual C++
public override Object ConvertFrom(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value
)
Public Overrides Function ConvertFrom ( _
	context As ITypeDescriptorContext, _
	culture As CultureInfo, _
	value As Object _
) As Object
public:
virtual Object^ ConvertFrom(
	ITypeDescriptorContext^ context, 
	CultureInfo^ culture, 
	Object^ value
) override
Parameters
context (ITypeDescriptorContext)
An ITypeDescriptorContext that provides a format context.
culture (CultureInfo)
The CultureInfo to use as the current culture.
value (Object)
The Object to convert.
Return Value
A Duration that represents the converted value.
Exceptions
ExceptionCondition
NotSupportedExceptionThe conversion cannot be performed.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)