The example demonstrates that the IDictionary.::.Add method throws an ArgumentException when attempting to add a duplicate key, or when a key or value of the wrong data type is supplied.

 
  • 此示例演示了当尝试添加重复键时;或者当所提供的键或值的数据类型不正确时;IDictionary.;::
今日热词
目录 附录 查词历史