Click or drag to resize
Llvm.NET LogoConstantArrayFrom Method (ITypeRef, Int32, Constant)

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

Create a constant array of values of a given type with a fixed size, zero filling any un-specified values

Namespace:  Llvm.NET.Values
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public static Constant From(
	ITypeRef elementType,
	int len,
	params Constant[] values
)

Parameters

elementType
Type: Llvm.NET.TypesITypeRef
Type of elements in the array
len
Type: SystemInt32
Length of the array
values
Type: Llvm.NET.ValuesConstant
Values to initialize the array

Return Value

Type: Constant
Constant representing the array
Remarks
If the number of arguments provided for the values is less than len then the remaining elements of the array are set with the null value for the elementType
See Also