Variable(ObjectIdentifier, ISnmpData) Constructor |
Creates a
Variable instance with a specific object identifier and data.
Namespace: Lextm.SharpSnmpLibAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic Variable(
ObjectIdentifier id,
ISnmpData? data = null
)
Public Sub New (
id As ObjectIdentifier,
Optional data As ISnmpData = Nothing
)
Dim id As ObjectIdentifier
Dim data As ISnmpData
Dim instance As New Variable(id, data)
public:
Variable(
ObjectIdentifier^ id,
ISnmpData^ data = nullptr
)
new :
id : ObjectIdentifier *
?data : ISnmpData
(* Defaults:
let _data = defaultArg data null
*)
-> Variable
Parameters
- id ObjectIdentifier
- Object identifier
- data ISnmpData (Optional)
- Data
RemarksIf you set
null to
data, you get a
Variable instance whose
Data is a
Null instance.
See Also