PowerSNMP for .NET CF
OctetString Constructor(String)
See Also  Send comments on this topic.
Dart.Snmp.SimpleType Namespace > OctetString Class > OctetString Constructor : OctetString Constructor(String)




value
The initial value given to this object in string form. This value is converted to byte using the system default encoding.
Initializes a new instance of the OctetString class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal value As String _
)
Visual Basic (Usage)Copy Code
Dim value As String
 
Dim instance As New OctetString(value)
C# 
public OctetString( 
   string value
)
Managed Extensions for C++ 
public: OctetString( 
   string* value
)
C++/CLI 
public:
OctetString( 
   String^ value
)

Parameters

value
The initial value given to this object in string form. This value is converted to byte using the system default encoding.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionThe value is a null reference.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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