Platform Core .NET Assemblies API
CanConvertFrom(ITypeDescriptorContext,Type) Method
See Also  Send Feedback
Terrasoft.Common Namespace > LocalizableStringConverter Class > CanConvertFrom Method : CanConvertFrom(ITypeDescriptorContext,Type) Method
context
Instance of the class that implements the System.ComponentModel.ITypeDescriptorContext interface that provides the format context.
sourceType
The System.Type instance that provides the type from which the conversion must be made.

Glossary Item Box

Determines whether an object of the specified type can be converted to the LocalizableString type using the specified context.

Syntax

 
C#
 
 

Parameters

context
Instance of the class that implements the System.ComponentModel.ITypeDescriptorContext interface that provides the format context.
sourceType
The System.Type instance that provides the type from which the conversion must be made.

Return Value

true, if the conversion is possible; otherwise false.

Remarks

Overriding base method. System.ComponentModel.TypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.