SnmpDataExtensionToBytes Method |
Namespace:
Lextm.SharpSnmpLib
Assembly:
SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.4.0+601762d0e653a71ebb69af963204dfbfb6c26b74
Syntax public static byte[] ToBytes(
this ISnmpData data
)
<ExtensionAttribute>
Public Shared Function ToBytes (
data As ISnmpData
) As Byte()
public:
[ExtensionAttribute]
static array<unsigned char>^ ToBytes(
ISnmpData^ data
)
[<ExtensionAttribute>]
static member ToBytes :
data : ISnmpData -> byte[]
Parameters
- data
- Type: Lextm.SharpSnmpLibISnmpData
Return Value
Type:
ByteUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ISnmpData. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also