ArcFM Engine Developer Guide
ToStruct<T>(Byte[]) Method


The struct type to convert to.
An array of bytes.
Returns a struct converted from the byte array.
Syntax
'Declaration
 
Public Overloads Shared Function ToStruct(Of T As {New, Struct})( _
   ByVal buffer() As Byte _
) As T
'Usage
 
Dim buffer() As Byte
Dim value As T
 
value = StructConverter.ToStruct(Of T)(buffer)
public static T ToStruct<T>( 
   byte[] buffer
)
where T: new(), struct

Parameters

buffer
An array of bytes.

Type Parameters

T
The struct type to convert to.

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