Chili.Opf3 Send comments on this topic.
Capacity Property
See Also 
Chili.Opf3 Namespace > Generic ObjectSet Class : Capacity Property




Gets or sets the number of elements that the ObjectSet can contain.

Syntax

Visual Basic (Declaration) 
Public Property Capacity As Integer
Visual Basic (Usage)Copy Code
Dim instance As ObjectSet(Of T)
Dim value As Integer
 
instance.Capacity = value
 
value = instance.Capacity
C# 
public int Capacity {get; set;}
Managed Extensions for C++ 
public: __property int get_Capacity();
public: __property void set_Capacity( 
   int value
);
C++/CLI 
public:
property int Capacity {
   int get();
   void set (int value);
}

Return Value

The number of elements that the ObjectSet can contain.

Requirements

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

See Also