ArcFM Engine Developer Guide
ToStruct(Byte[],Type,Int32) Method


An array of bytes.
The Type of object to be created. This type object must represent a structure.
The starting position within the buffer.
Returns a struct converted from the byte array.
Syntax
'Declaration
 
Public Overloads Shared Function ToStruct( _
   ByVal buffer() As Byte, _
   ByVal structureType As Type, _
   ByVal startIndex As Integer _
) As Object
'Usage
 
Dim buffer() As Byte
Dim structureType As Type
Dim startIndex As Integer
Dim value As Object
 
value = StructConverter.ToStruct(buffer, structureType, startIndex)
public static object ToStruct( 
   byte[] buffer,
   Type structureType,
   int startIndex
)

Parameters

buffer
An array of bytes.
structureType
The Type of object to be created. This type object must represent a structure.
startIndex
The starting position within the buffer.

Return Value

A struct represented by the contents of the byte array.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

StructConverter Class
StructConverter Members
Overload List

 

 


Send Comment