ObjectIdentityMacro(String, String, IEntity, UInt32, Boolean) Constructor |
Initializes a new instance of the
ObjectIdentityMacro class with the specified module name, name, parent, value, and lock module flag.
Namespace: Lextm.SharpSnmpPro.MibAssembly: SharpSnmpPro.Mib (in SharpSnmpPro.Mib.dll) Version: 2.1.3+8c6e8963be682b1d7fd7055c260d7b3d449dbc11
Syntaxpublic ObjectIdentityMacro(
string moduleName,
string name,
IEntity parent,
uint value,
bool lockModule = false
)
Public Sub New (
moduleName As String,
name As String,
parent As IEntity,
value As UInteger,
Optional lockModule As Boolean = false
)
Dim moduleName As String
Dim name As String
Dim parent As IEntity
Dim value As UInteger
Dim lockModule As Boolean
Dim instance As New ObjectIdentityMacro(moduleName,
name, parent, value, lockModule)
public:
ObjectIdentityMacro(
String^ moduleName,
String^ name,
IEntity^ parent,
unsigned int value,
bool lockModule = false
)
new :
moduleName : string *
name : string *
parent : IEntity *
value : uint32 *
?lockModule : bool
(* Defaults:
let _lockModule = defaultArg lockModule false
*)
-> ObjectIdentityMacro
Parameters
- moduleName String
- The name of the module.
- name String
- The name of the object identity.
- parent IEntity
- The parent entity.
- value UInt32
- The value of the object identity.
- lockModule Boolean (Optional)
- Whether to lock the module assignment.
See Also