Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

Converts a given object type to a CultureInfo object.

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

public:
virtual Object^ ConvertFrom(
	ITypeDescriptorContext^ typeDescriptorContext,
	CultureInfo^ cultureInfo,
	Object^ source
) override

Parameters

typeDescriptorContext
Type: System.ComponentModel::ITypeDescriptorContext^

The ITypeDescriptorContext value.

cultureInfo
Type: System.Globalization::CultureInfo^

The CultureInfo object whose value is respected during conversion.

source
Type: System::Object^

The Type being converted.

Return Value

Type: System::Object^

A CultureInfo object.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft