obj_value Property
The current object's value.
Syntax
def get_obj_value(obj_index: int) -> bytes: ... def set_obj_value(obj_index: int, value: bytes) -> None: ...
Default Value
""
Remarks
The current object's value. The corresponding object id and type are specified by the obj_oid and object_type properties.
Example
SNMPControl.ObjCount = 1 SNMPControl.ObjId(0) = "1.3.6.1.2.1.1.1.0" SNMPControl.ObjValue(0) = "New Value"
The obj_index parameter specifies the index of the item in the array. The size of the array is controlled by the obj_count property.