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

[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
Syntax
C#
public static Constant From(
	ITypeRef elementType,
	IList<Constant> values
)

Parameters

elementType
Type: Llvm.NET.TypesITypeRef
Type of elements in the array
values
Type: System.Collections.GenericIListConstant
Values to initialize the array

Return Value

Type: Constant
Constant representing the array
See Also