|  | ContextCreateStructType Method (String, Boolean, ITypeRef) | 
 [This is preliminary documentation and is subject to change.]
Creates a new structure type in this 
Context 
    Namespace: 
   Llvm.NET
    Assembly:
   Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
 Syntax
Syntaxpublic IStructType CreateStructType(
	string name,
	bool packed,
	params ITypeRef[] elements
)
Parameters
- name
- Type: SystemString
 Name of the structure
- packed
- Type: SystemBoolean
 Flag indicating if the structure is packed
- elements
- Type: Llvm.NET.TypesITypeRef
 Types for the structures elements in layout order
Return Value
Type: 
IStructTypeIStructType with the specified body defined.
            
 Remarks
Remarks
            If the elements argument list is empty then an opaque type is created (e.g. a forward reference)
            The 
SetBody(Boolean, ITypeRef) method provides a means to add a body to
            an opaque type at a later time if the details of the body are required. (If only pointers to
            to the type are required the body isn't required) 
            
 See Also
See Also