Converts the given value object to the specified type, using specified context and culture information.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

C#

public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)

Parameters

context

Type: System.ComponentModel..::..ITypeDescriptorContext

The format context.

culture

Type: System.Globalization..::..CultureInfo

The current culture.

value

Type: System..::..Object

The object to convert.

destinationType

Type: System..::..Type

The type to convert the value to.

Return Value

Type: System..::..Object

The converted value.