ImageGear for .NET
CanConvertFrom(ITypeDescriptorContext,Type) Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Display Namespace > ImGearPageDisplayConverter Class > CanConvertFrom Method : CanConvertFrom(ITypeDescriptorContext,Type) Method




context
An ITypeDescriptorContext object that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked.
sourceType
The type from which you want to convert.

Glossary Item Box

Returns true if conversion from specified type is supported.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

context
An ITypeDescriptorContext object that provides a format context. You can use this object to get additional information about the environment from which this converter is being invoked.
sourceType
The type from which you want to convert.

Return Value

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

Remarks

The ITypeDescriptorContext interface provides the context for the conversion. Typically, this interface is used at design time to provide information about the design-time container.

See Also

©2013. Accusoft Corporation. All Rights Reserved.