int iEnumType = this->enumType->SetShow(true); int iEnumType = this->enumType->GetProperties()->SetLogical("Show",true);
一种是8.5以上才能用的,一种是通用
第二种写法,有问题,可以用,但是没有释放内存,下面是正确用法
PropertyList *propList = this->enumType->GetProperties(); int iEnumType = propList->GetEnum("Value"); delete propList; propList = NULL;
原创文章,作者:Carrie001128,如若转载,请注明出处:https://blog.ytso.com/274623.html