| ConfigurationSectionStringConverterCanConvertFrom Method (ITypeDescriptorContext, Type) |
Determines if the type can be converted.
Namespace: Activsoft.EngineAssembly: Activsoft.Engine (in Activsoft.Engine.dll) Version: 6.0.0.0
Syntaxpublic override bool CanConvertFrom(
ITypeDescriptorContext ctx,
Type type
)
Public Overrides Function CanConvertFrom (
ctx As ITypeDescriptorContext,
type As Type
) As Boolean
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ ctx,
Type^ type
) override
abstract CanConvertFrom :
ctx : ITypeDescriptorContext *
type : Type -> bool
override CanConvertFrom :
ctx : ITypeDescriptorContext *
type : Type -> bool Parameters
- ctx
- Type: System.ComponentModelITypeDescriptorContext
ITypeDescriptorContext object used for the conversions. - type
- Type: SystemType
Type to be converted.
Return Value
Type:
Boolean
true if the type is string, else false
See Also