LEADTOOLS (Leadtools assembly)

ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method

Show in webframe







A formatter context. Use this object to extract additional information about the environment from which this converter is being invoked. Always check whether this value is null. Also, properties on the context object may return null.
A System.Globalization.CultureInfo that specifies the culture to represent the object.
The object to convert.
The type to convert the object to.
Converts the specified object to another type.
Syntax
public override object ConvertTo( 
   ITypeDescriptorContext context,
   CultureInfo culture,
   object value,
   Type destinationType
)
'Declaration
 
Public Overloads Overrides NotOverridable Function ConvertTo( _
   ByVal context As ITypeDescriptorContext, _
   ByVal culture As CultureInfo, _
   ByVal value As Object, _
   ByVal destinationType As Type _
) As Object
'Usage
 
Dim instance As LeadSizeConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim destinationType As Type
Dim value As Object
 
value = instance.ConvertTo(context, culture, value, destinationType)

            

            
 function Leadtools.LeadSizeConverter.ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type)( 
   context ,
   culture ,
   value ,
   destinationType 
)
public:
Object^ ConvertTo( 
   ITypeDescriptorContext^ context,
   CultureInfo^ culture,
   Object^ value,
   Type^ destinationType
) override 

Parameters

context
A formatter context. Use this object to extract additional information about the environment from which this converter is being invoked. Always check whether this value is null. Also, properties on the context object may return null.
culture
A System.Globalization.CultureInfo that specifies the culture to represent the object.
value
The object to convert.
destinationType
The type to convert the object to.

Return Value

An Object representing the converted value.
Requirements

Target Platforms

See Also

Reference

LeadSizeConverter Class
LeadSizeConverter Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.