Gets or sets the initial starting size for this table.
[Visual Basic] Public Property MinimumCapacity As Integer [C#] public int MinimumCapacity {get; set;} [C++] public: __property int get_MinimumCapacity(); public: __property void set_MinimumCapacity(int); [JScript] public function get MinimumCapacity() : int; public function set MinimumCapacity(int);
The initial starting size in rows of this table. The default is 25.
The MinimumCapacity allows the system to create an appropriate set of resources before fetching data. In a situation when performance is critical, setting this property can optimize performance.
The following example sets the MinimumCapacity of a DataTable.