Ets_Nt_Import_Object_Attribute_Add()
Note: Requires OPNET Development Kit
Abstract
Adds an attribute to an object.
Syntax
Ets_Nt_Import_Object_Attribute_Add (imp_obj_ptr, name, value)
| Argument | Type | Description |
|---|---|---|
imp_obj_ptr |
EtsT_Nt_Import_Object* |
Object to which to add the attribute. |
name |
const char* |
Name of the attribute to add. |
value |
const char* |
Value of the attribute to add. |
Return Type
EtsT_Nt_Import_Attribute*
The newly added attribute.
Header
ets_nt_obj_import.h
Details
This function generates a recoverable error if imp_obj_ptr is NIL or name is unspecified (NIL pointer or empty string). If value is null, a compound attribute will be added.