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 _
)
[C#]
public override bool CanConvertFrom(
   ITypeDescriptorContext context,
   Type sourceType
);

Parameters

context
A ITypeDescriptorContext that provides a format context.
sourceType
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