Ets_Shape_Attr_Type_Get()
注意: 需要 OPNET Development Kit
摘要
返回形状上指定属性的类型。
语法
Ets_Shape_Attr_Type_Get (shape_hndl, attr_name, attr_type_ptr)
| 参数 | 类型 | 说明 |
|---|---|---|
shape_hndl |
EtsT_Shape_Handle |
目标形状的句柄。 |
attr_name |
const char * |
目标属性的名称。 |
attr_type_ptr |
“EtsT_Attr_Type“ * | 指向用于存放属性类型的内存位置的指针(取 Table 31 “Attribute Sub-Package Symbolic Constants“ on page 980 中的值之一)。 |
返回类型
EtsT_Compcode
EtsC_Compcode_Success 或 EtsC_Compcode_Failure。
头文件
ets_api_shapeset.h
详情
无。