←Select platform

CanConvertTo Method

Summary

Returns a value indicating whether this converter can convert an object to the given destination type using the context.

Syntax

C#
VB
C++
public override bool CanConvertTo( 
   ITypeDescriptorContext context, 
   Type destinationType 
) 
Public Overloads Overrides NotOverridable Function CanConvertTo( _ 
   ByVal context As ITypeDescriptorContext, _ 
   ByVal destinationType As Type _ 
) As Boolean 
public: 
bool CanConvertTo(  
   ITypeDescriptorContext^ context, 
   Type^ destinationType 
) override  

Parameters

context
An ITypeDescriptorContext that provides a format context.

destinationType
A type that represents the type to which you want to convert.

Return Value

true if this object can perform the conversion; otherwise, false.

Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly