Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Static class

ArrayReflection

static class ArrayReflection

Module: System.Runtime.Reflection
Assembly: System.Runtime.dll
Source file: ArrayReflection.rvn

Dynamic access to supported managed vector arrays.

Remarks

Development API. Invalid inputs and unsupported element types cause terminal runtime faults.

Methods

3 items
Static member: Create(arrayType: TypeInfo, values: object?[]) -> object Creates a managed vector of the runtime-backed array type and copies the supplied elements.
Static member: GetLength(array: object) -> int Returns the number of elements in a supported managed vector.
Static member: GetValue(array: object, index: int) -> object? Reads an element, boxing scalar values and preserving reference identity.