Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Hashtable.Clear()

Description

Count is set to zero, and references to other objects from elements of the collection are also released.

The capacity remains unchanged. /This method is an O(n) operation, where n is Hashtable.Count.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答