IPWorks SNMP 2020 ActiveX Edition

Questions / Feedback?

ObjValue Property

The current object's value.

Syntax

snmpagentcontrol.ObjValue(ObjIndex)[=string]

Default Value

""

Remarks

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

Example


SNMPControl.ObjCount = 1
SNMPControl.ObjId(0) = "1.3.6.1.2.1.1.1.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.

To read or write binary data to the property, a Variant (Byte Array) version is provided in .ObjValueB.

This property is not available at design time.

Data Type

Binary String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 ActiveX Edition - Version 20.0 [Build 8202]