Ets_Shape_Attr_Exists()
注意: 需要 OPNET Development Kit
摘要
判断形状是否具有指定的命名属性。
语法
Ets_Shape_Attr_Exists (shape_hndl, attr_name)
| 参数 | 类型 | 说明 |
|---|---|---|
shape_hndl |
EtsT_Shape_Handle |
目标形状的句柄。 |
attr_name |
const char * |
要查找的属性名称。 |
返回类型
EtsT_Boolean
若属性存在于该形状上则为 EtsC_True,否则为 EtsC_False。
头文件
ets_api_shapeset.h
详情
无。