System.Classes.TBits.Size

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Size: Integer read FSize write SetSize;

C++

__property int Size = {read=FSize, write=SetSize, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TBits

Description

Represents the number of Boolean values the TBits object can hold.

Set Size to expand or shrink the number of values in the array. When expanding the size, new entries are set to false. When shrinking the size, values whose indexes are less than or equal to the new size are preserved; entries whose indexes are greater than the new size are lost.

See Also


Code Examples