Click or drag to resize
Llvm.NET LogoIStructTypeSetBody Method

[This is preliminary documentation and is subject to change.]

Sets the body of the structure

Namespace:  Llvm.NET.Types
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
void SetBody(
	bool packed,
	params ITypeRef[] elements
)

Parameters

packed
Type: SystemBoolean
Flag to indicate if the body elements are packed (e.g. no padding)
elements
Type: Llvm.NET.TypesITypeRef
Optional types of each element
Remarks
To set the body , at least one element type is required. If none are provided this is a NOP.
See Also