Chili.Opf3 Send comments on this topic.
PoolSize Property
See Also 
Chili.Opf3 Namespace > PersistentAttribute Class : PoolSize Property




Specifies the size of the pool (default is 0) that contains pre-cached instances of the class marked with this attribute.

Syntax

Visual Basic (Declaration) 
Public Property PoolSize As Integer
Visual Basic (Usage)Copy Code
Dim instance As PersistentAttribute
Dim value As Integer
 
instance.PoolSize = value
 
value = instance.PoolSize
C# 
public int PoolSize {get; set;}
Managed Extensions for C++ 
public: __property int get_PoolSize();
public: __property void set_PoolSize( 
   int value
);
C++/CLI 
public:
property int PoolSize {
   int get();
   void set (int value);
}

Return Value

The size of the pool for the persistent object marked with this attribute.

Remarks

This property is usually set if the program loads a lot objects of the given type in a repeated manner. It allows to speed up loading of large lists.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also