This documentation is for the old version. Go to the latest Upload Suite docs

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

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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.

See Also

Reference