PowerSNMP for .NET CF
MibNode Constructor
See Also  Send comments on this topic.
Dart.Snmp Namespace > MibNode Class : MibNode Constructor




usage
A MibNodeUsage value that indicates the usage of the MibNode.
oid
String value of the OID of the MibNode.
syntax
String value that describes the syntax of the MibNode.
access
Access enum that defines the availability of the MibNode.
status
Status enum that describes the current status of the MibNode.
description
A string value assigned to the Description of the MibNode.
name
A string value assigned to the Name of the MibNode.
valueType
System.Type value that describes the .NET type of the value associated with the MibNode.
units
String value indicating the units.
defVal
String value indicating the default value.
index
String value indicating the index used if Usage is Dart.Snmp.Usage.TableEntry.
augments
String value indicating the augments field imported from the MIB.
objects
String value indicating the objects if Usage is Dart.Snmp.Usage.Notification or Dart.Snmp.Usage.Group.
notifications
String value indicating the notifications if Usage is Dart.Snmp.Usage.Group.
module
String value indicating the source module (MIB file).
composedsyntax
String value that indicates the raw syntax from a mib definition.
Initializes a new instance of the MibNode class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal usage As Usage, _
   ByVal oid As String, _
   ByVal syntax As String, _
   ByVal access As Access, _
   ByVal status As Status, _
   ByVal description As String, _
   ByVal name As String, _
   ByVal valueType As Type, _
   ByVal units As String, _
   ByVal defVal As String, _
   ByVal index As String, _
   ByVal augments As String, _
   ByVal objects As String, _
   ByVal notifications As String, _
   ByVal module As String, _
   ByVal composedsyntax As String _
)
Visual Basic (Usage)Copy Code
Dim usage As Usage
Dim oid As String
Dim syntax As String
Dim access As Access
Dim status As Status
Dim description As String
Dim name As String
Dim valueType As Type
Dim units As String
Dim defVal As String
Dim index As String
Dim augments As String
Dim objects As String
Dim notifications As String
Dim module As String
Dim composedsyntax As String
 
Dim instance As New MibNode(usage, oid, syntax, access, status, description, name, valueType, units, defVal, index, augments, objects, notifications, module, composedsyntax)
C# 
public MibNode( 
   Usage usage,
   string oid,
   string syntax,
   Access access,
   Status status,
   string description,
   string name,
   Type valueType,
   string units,
   string defVal,
   string index,
   string augments,
   string objects,
   string notifications,
   string module,
   string composedsyntax
)
Managed Extensions for C++ 
public: MibNode( 
   Usage usage,
   string* oid,
   string* syntax,
   Access access,
   Status status,
   string* description,
   string* name,
   Type* valueType,
   string* units,
   string* defVal,
   string* index,
   string* augments,
   string* objects,
   string* notifications,
   string* module,
   string* composedsyntax
)
C++/CLI 
public:
MibNode( 
   Usage usage,
   String^ oid,
   String^ syntax,
   Access access,
   Status status,
   String^ description,
   String^ name,
   Type^ valueType,
   String^ units,
   String^ defVal,
   String^ index,
   String^ augments,
   String^ objects,
   String^ notifications,
   String^ module,
   String^ composedsyntax
)

Parameters

usage
A MibNodeUsage value that indicates the usage of the MibNode.
oid
String value of the OID of the MibNode.
syntax
String value that describes the syntax of the MibNode.
access
Access enum that defines the availability of the MibNode.
status
Status enum that describes the current status of the MibNode.
description
A string value assigned to the Description of the MibNode.
name
A string value assigned to the Name of the MibNode.
valueType
System.Type value that describes the .NET type of the value associated with the MibNode.
units
String value indicating the units.
defVal
String value indicating the default value.
index
String value indicating the index used if Usage is Dart.Snmp.Usage.TableEntry.
augments
String value indicating the augments field imported from the MIB.
objects
String value indicating the objects if Usage is Dart.Snmp.Usage.Notification or Dart.Snmp.Usage.Group.
notifications
String value indicating the notifications if Usage is Dart.Snmp.Usage.Group.
module
String value indicating the source module (MIB file).
composedsyntax
String value that indicates the raw syntax from a mib definition.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.