Export (0) Print
Expand All

ImageKeyConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

Converts from the specified object to a string.

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

public override Object ConvertFrom(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

culture
Type: System.Globalization.CultureInfo

A CultureInfo to provide locale information.

value
Type: System.Object

The Object to convert.

Return Value

Type: System.Object
An Object that represents the converted value.

ExceptionCondition
NotSupportedException

The conversion cannot be performed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft