 | ConstantArrayFrom Method (ITypeRef, Constant) |
[This is preliminary documentation and is subject to change.]
Create a constant array of values of a given type
Namespace:
Llvm.NET.Values
Assembly:
Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntaxpublic static Constant From(
ITypeRef elementType,
params Constant[] values
)
Parameters
- elementType
- Type: Llvm.NET.TypesITypeRef
Type of elements in the array - values
- Type: Llvm.NET.ValuesConstant
Values to initialize the array
Return Value
Type:
ConstantConstant representing the array
See Also