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.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

 

Converts a CultureInfo object to a given object type.

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

[SecurityCriticalAttribute]
public override object ConvertTo(
	ITypeDescriptorContext typeDescriptorContext,
	CultureInfo cultureInfo,
	object value,
	Type destinationType
)

Parameters

typeDescriptorContext
Type: System.ComponentModel.ITypeDescriptorContext

The ITypeDescriptorContext value.

cultureInfo
Type: System.Globalization.CultureInfo

The CultureInfo object whose value is respected during conversion.

value
Type: System.Object

The object that represents the CultureInfo to convert.

destinationType
Type: System.Type

The Type of the returned converted object.

Return Value

Type: System.Object

A converted CultureInfo object to a given object type.

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