LEADTOOLS (Leadtools.Logging assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
See Also 
Leadtools.Logging.Configuration Namespace > TypeNameConverter Class > ConvertTo Method : ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method



context
The container representing this System.ComponentModel.TypeDescriptor.
culture
Culture info for assembly.
value
Value to convert.
destinationType
Type to convert to.
context
The container representing this System.ComponentModel.TypeDescriptor.
culture
Culture info for assembly.
value
Value to convert.
destinationType
Type to convert to.
Returns the assembly qualified name for the passed in Type.

Syntax

Visual Basic (Declaration) 
Overloads Overrides Public Function ConvertTo( _
   ByVal context As ITypeDescriptorContext, _
   ByVal culture As CultureInfo, _
   ByVal value As Object, _
   ByVal destinationType As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As TypeNameConverter
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)
C# 
public override object ConvertTo( 
   ITypeDescriptorContext context,
   CultureInfo culture,
   object value,
   Type destinationType
)
C++/CLI 
public:
Object^ ConvertTo( 
   ITypeDescriptorContext^ context,
   CultureInfo^ culture,
   Object^ value,
   Type^ destinationType
) override 

Parameters

context
The container representing this System.ComponentModel.TypeDescriptor.
culture
Culture info for assembly.
value
Value to convert.
destinationType
Type to convert to.

Return Value

The assembly qualified name as a string.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Logging requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features