Versions with this page:
Versions without this page:
从哈希表中删除具有指定键的元素。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public Hashtable h; void Example() { h = new Hashtable(); h.Add("1", "one"); h.Add("2", "two"); h.Remove("1"); Debug.Log(h.Count); } }