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

CanConvertTo() 공개 메소드

public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
리턴 bool
        public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) =>
            destinationType == typeof(string) ||
            base.CanConvertTo(context, destinationType);