CultureInfoIetfLanguageTagConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts a given object type to a CultureInfo object.

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

override ConvertFrom : 
        typeDescriptorContext:ITypeDescriptorContext *
        cultureInfo:CultureInfo *
        source:Object -> 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
Available since 3.0
Return to top
Show: