←Select platform

Is this page helpful?

In this page

CanConvertTo Method

Summary
Returns a value indicating whether this converter can convert an object to the given destination type using the context.
Syntax
C#
C++/CLI
Python
public override bool CanConvertTo( 
   ITypeDescriptorContext context, 
   Type destinationType 
) 
public: 
bool CanConvertTo(  
   ITypeDescriptorContext^ context, 
   Type^ destinationType 
) override  
def CanConvertTo(self,context,destinationType): 

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 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.