Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
Collapse the table of content
Expand the table of content

CultureInfoIetfLanguageTagConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

Converts a given object type to a CultureInfo object.

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

'Declaration
Public Overrides Function ConvertFrom ( _
	typeDescriptorContext As ITypeDescriptorContext, _
	cultureInfo As CultureInfo, _
	source As Object _
) As Object

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft