Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ResourceConverter.CanConvertFrom(ITypeDescriptorContext, Type) Method

Returns whether this converter can convert an object of one Type to a IResource

[Visual Basic]
Public Overrides Overloads Sub CanConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal sourceType As Type _
public override bool CanConvertFrom(
   ITypeDescriptorContext context,
   Type sourceType


A ITypeDescriptorContext that provides a format context.
A Type that represents the Type you want to convert from.

Return Value

true if the conversion is possible.

See Also

ResourceConverter Class | Spring.Core.IO Namespace | ResourceConverter.CanConvertFrom Overload List