FigureLengthConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

 
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 the specified FigureLength to the specified type.

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

[<SecurityCriticalAttribute>]
override ConvertTo : 
        typeDescriptorContext:ITypeDescriptorContext *
        cultureInfo:CultureInfo *
        value:Object *
        destinationType:Type -> Object

Parameters

typeDescriptorContext
Type: System.ComponentModel.ITypeDescriptorContext

Describes the context information of a type.

cultureInfo
Type: System.Globalization.CultureInfo

Describes the CultureInfo of the type being converted.

value
Type: System.Object

The FigureLength to convert.

destinationType
Type: System.Type

The type to convert the FigureLength to.

Return Value

Type: System.Object

The object created from converting this FigureLength.

.NET Framework
Available since 3.0
Return to top
Show: