Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / SpreadChartContextMenuStripTypeConverter Class / ConvertFrom Method / ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
A System.Globalization.CultureInfo that specifies the culture used to represent the font.
The System.Object to convert.


ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
Converts the given object to the reference type.
Syntax
'Declaration
 
Public Overloads Overrides Function ConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal culture As CultureInfo, _
   ByVal value As Object _
) As Object
 
'Usage
 
Dim instance As SpreadChartContextMenuStripTypeConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim value As Object
 
value = instance.ConvertFrom(context, culture, value)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
culture
A System.Globalization.CultureInfo that specifies the culture used to represent the font.
value
The System.Object to convert.

Return Value

An System.Object that represents the converted value.
Exceptions
ExceptionDescription
The conversion cannot be performed.
See Also