XPathMessageFilterTable<TFilterData>.TrimToSize 方法

定义

压缩筛选器表,清除任何过多的分配或缓冲区。Compacts the filter table, purging any excess allocations or buffers.

public:
 void TrimToSize();
public void TrimToSize ();
member this.TrimToSize : unit -> unit
Public Sub TrimToSize ()

注解

此方法基本上等效于将集合的容量设置为其计数。This method is conceptually equivalent to setting a collection's capacity to its count.

适用于