PowerSNMP for .NET
GenerateCode Method




Generates code that can be used to add MibNode and MibTrap objects from previously parsed MIB files to MibNodes. Available in .NET Framework only.
Syntax
Public Sub GenerateCode( _
   ByVal codeOut As Stream, _
   ByVal language As Language _
) 
Dim instance As MibNodes
Dim codeOut As Stream
Dim language As Language
 
instance.GenerateCode(codeOut, language)
public void GenerateCode( 
   Stream codeOut,
   Language language
)
public: void GenerateCode( 
   Stream* codeOut,
   Language language
) 
public:
void GenerateCode( 
   Stream^ codeOut,
   Language language
) 

Parameters

codeOut
language
Remarks

Parse and GenerateNodes will normally be called one or more times before this method is used. C++ code generation is dependent on the CppCodeProvider.dll which is part of the Visual Studio 2005 or greater IDE.

See Also

Reference

MibNodes Class
MibNodes Members


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic