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
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also