System.Data.ColumnTypeConverter.CanConvertTo C# (CSharp) 메소드

CanConvertTo() 공개 메소드

Gets a value indicating whether this converter can convert an object to the given destination type using the context.
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
리턴 bool
        public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) =>
            destinationType == typeof(InstanceDescriptor) ||
            base.CanConvertTo(context, destinationType);