FileSizeConverterCanConvertTo(ITypeDescriptorContext, Type) Method
Returns whether this converter can convert the object to the specified type, using the specified context.
Namespace: DevCase.Runtime.TypeConvertersAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public override bool CanConvertTo(
ITypeDescriptorContext context,
Type destinationType
)
Public Overrides Function CanConvertTo (
context As ITypeDescriptorContext,
destinationType As Type
) As Boolean
Dim instance As FileSizeConverter
Dim context As ITypeDescriptorContext
Dim destinationType As Type
Dim returnValue As Boolean
returnValue = instance.CanConvertTo(context,
destinationType)
public:
virtual bool CanConvertTo(
ITypeDescriptorContext^ context,
Type^ destinationType
) override
abstract CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
override CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
No code example is currently available or this language may not be supported.
- context ITypeDescriptorContext
-
An ITypeDescriptorContext that provides a format context.
- destinationType Type
-
A Type that represents the type you want to convert to.
Boolean if this converter can perform the conversion; otherwise,
.