TableRowCollection.TrimToSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
void TrimToSize();
public void TrimToSize ();
member this.TrimToSize : unit -> unit
Public Sub TrimToSize ()
Remarks
This method can be used to minimize memory overhead for a collection, particularly if the set of items contained by the collection is expected to be static.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.