Ets_Obj_Attr_Exists()
摘要
判断某个属性是否存在于给定的 ETS 对象中。
语法
Ets_Obj_Attr_Exists (obj_hndl, attr_name)
| 参数 | 类型 | 说明 |
|---|---|---|
obj_hndl_ptr |
EtsT_Obj_Handle |
目标对象的句柄。 |
attr_name |
char * |
目标属性的名称。 |
返回类型
EtsT_Boolean
若属性存在则返回 EtsC_Boolean_True,否则返回 EtsC_Boolean_False。
头文件
ets_api_obj.h
详情
在属性列表中搜索,以检查给定属性是否存在于给定对象中。