StructInfo Constructor

Vajhoej Record

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
Create instance of StructInfo.

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public StructInfo(
	Endian endianess,
	Alignment alignment,
	bool endpad,
	IList<FieldInfo> fields,
	Type clz
)
Public Sub New ( _
	endianess As Endian, _
	alignment As Alignment, _
	endpad As Boolean, _
	fields As IList(Of FieldInfo), _
	clz As Type _
)
public:
StructInfo(
	Endian endianess, 
	Alignment alignment, 
	bool endpad, 
	IList<FieldInfo^>^ fields, 
	Type^ clz
)

Parameters

endianess
Endian
Byte order for all fields.
alignment
Alignment
Alignment for all fields.
endpad
Boolean
Pad at end.
fields
IList<(Of <(<'FieldInfo>)>)>
Array of FieldInfo describing all fields.
clz
Type
Class implementing struct.

Exceptions

ExceptionCondition
Vajhoej.Record..::..RecordExceptionIf error calculation length information.

See Also