NodeType Property

The type of the selected node.

Syntax

ANSI (Cross Platform)
int GetNodeType();

Unicode (Windows)
INT GetNodeType();

Possible Values

MCR_OBJECT_TYPE(0), 
MCR_OBJECT_IDENTITY(1),
MCR_MODULE_IDENTITY(2),
MCR_NOTIFICATION_TYPE(3),
MCR_TRAP_TYPE(4),
MCR_OBJECT_GROUP(5),
MCR_NOTIFICATION_GROUP(6),
MCR_COMPLIANCE(7),
MCR_CAPABILITIES(8)
@property (nonatomic,readonly,assign,getter=nodeType) int nodeType;
- (int)nodeType;

Possible Values

MCR_OBJECT_TYPE(0), 
MCR_OBJECT_IDENTITY(1),
MCR_MODULE_IDENTITY(2),
MCR_NOTIFICATION_TYPE(3),
MCR_TRAP_TYPE(4),
MCR_OBJECT_GROUP(5),
MCR_NOTIFICATION_GROUP(6),
MCR_COMPLIANCE(7),
MCR_CAPABILITIES(8)
#define PID_MIBBROWSER_NODETYPE 13

IPWORKSSNMP_EXTERNAL void* IPWORKSSNMP_CALL IPWorksSNMP_MibBrowser_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

1

Remarks

The following are the possible values for NodeType:

0mcrObjectType
1mcrObjectIdentity
2mcrModuleIdentity
3mcrNotificationType
4mcrTrapType
5mcrObjectGroup
6mcrNotificationGroup
7mcrCompliance
8mcrCapabilities

This property is read-only.

Data Type

Integer

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