ConfigurationConverterBase.CanConvertTo Method (ITypeDescriptorContext, Type)
.NET Framework 3.0
Determines whether the conversion is allowed.
Namespace: System.Configuration
Assembly: System.Configuration (in system.configuration.dll)
Assembly: System.Configuration (in system.configuration.dll)
public boolean CanConvertTo ( ITypeDescriptorContext ctx, Type type )
public override function CanConvertTo ( ctx : ITypeDescriptorContext, type : Type ) : boolean
Not applicable.
Parameters
- ctx
The ITypeDescriptorContext object used for type conversion.
- type
The type to convert to.
Return Value
true if the conversion is allowed; otherwise, false.The CanConvertFrom method determines whether the strings contained in the configuration file can be converted to the related strongly typed properties.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: