System.ComponentModel.TypeTypeConverter.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)
        {
            return (destinationType == typeof(string));
        }