ObjValue Property

The current object's value.

Object Oriented Interface

public function getObjValue($objindex);
public function setObjValue($objindex, $value);

Procedural Interface

ipworkssnmp_snmptcptrapmgr_get($res, 10 , $objindex);
ipworkssnmp_snmptcptrapmgr_set($res, 10, $value , $objindex);

Default Value



The current object's value. The corresponding object id and type are specified by the ObjOid and ObjectType properties.


SNMPControl.ObjCount = 1
SNMPControl.ObjId(0) = ""
SNMPControl.ObjValue(0) = "New Value"

The $objindex parameter specifies the index of the item in the array. The size of the array is controlled by the ObjCount property.

This property is not available at design time.

Data Type

Binary String

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks SNMP 2020 PHP Edition - Version 20.0 [Build 7941]