IP地址控制 [英] Ip address control

查看:96
本文介绍了IP地址控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在IP地址控制中区分空值(...)和0.0.0.0



我尝试过:



我正确地获得了ip地址0.0.0.0,但它没有设置在cedit上它只显示空白

how to differenciate the empty value (. . . .) and 0.0.0.0 in ip address control

What I have tried:

I'm getting the ip address 0.0.0.0 correctly but its not setting on the cedit its just showing blank

推荐答案

请参阅 CIPAddressCtrl类 [ ^ ]。该类提供 IsBlank()方法来检查所有字段是否为空,GetAddress()返回非空字段的数量。
See CIPAddressCtrl Class[^]. The class provides the IsBlank() method to check if all fields are empty and GetAddress() returns the number of non-empty fields.


这篇关于IP地址控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆