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

Visual Basic

Public Overrides Function ConvertTo ( _
	context As ITypeDescriptorContext, _
	culture As CultureInfo, _
	value As Object, _
	destinationType As Type _
) As Object

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.