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




buffer
Byte[] containing data.
offset
Offset of the start of meaningful data.
count
Byte count of meaningful data.
Used to create a Segment object that holds a buffer of data.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
)
Visual Basic (Usage)Copy Code
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
 
Dim instance As New Segment(buffer, offset, count)
C# 
public Segment( 
   byte[] buffer,
   int offset,
   int count
)
Managed Extensions for C++ 
public: Segment( 
   byte[]* buffer,
   int offset,
   int count
)
C++/CLI 
public:
Segment( 
   array<byte>^ buffer,
   int offset,
   int count
)

Parameters

buffer
Byte[] containing data.
offset
Offset of the start of meaningful data.
count
Byte count of meaningful data.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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