SAFEARRAY struct SAFEARRAY Represents a safe array. Documentation Code public VARENUM VarType { get; } public static SAFEARRAY* CreateEmpty(VARENUM arrayType) Creates an empty one-dimensional SAFEARRAY of type arrayType. public SAFEARRAYBOUND GetBounds(int dimension = 0) Gets the SAFEARRAYBOUND of the dimension. public T GetValue<T>(Span<int> indices)