System.TVarArray

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TVarArray = record

C++

struct DECLSPEC_DRECORD TVarArray
{
public:
    Word DimCount;
    Word Flags;
    int ElementSize;
    int LockCount;
    void *Data;
    TVarArrayBoundArray Bounds;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.pas
System.hpp
System System

Description

This is the descriptor type for safe arrays.

A variable of type TVarArray stores all the necessary information about a safe array. The meaning of each field in the TVarArray record is given in the following table.



Field Meaning

DimCount

The number of dimensions of the safe array.

Flags

Flags providing different kind of information about the safe array.

ElementSize

The size, in bytes, of a safe array element.

LockCount

The number of times the safe array has been locked.

Data

The actual data in the safe array.

Bounds

The bounds of the safe array corresponding to all its dimensions. This is an array of type TVarArrayBoundArray.



See Also