UriTypeConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)

 

Converts the given object to the type of this converter, using the specified context and culture information.

Namespace:   System
Assembly:  System (in System.dll)

public:
virtual Object^ ConvertFrom(
	ITypeDescriptorContext^ context,
	CultureInfo^ culture,
	Object^ value
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

An ITypeDescriptorContext that provides a format context.

culture
Type: System.Globalization::CultureInfo^

The CultureInfo to use as the current culture.

value
Type: System::Object^

The Object to convert.

Return Value

Type: System::Object^

An Object that represents the converted value.

Exception Condition
NotSupportedException

The conversion cannot be performed.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: