欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Ä_±¾ß\ÐЕrŽì  

Exists ·½·¨

Èç¹û Dictionary Œ¦ÏóÖдæÔÚËùÖ¸¶¨µÄêP(gu¨¡n)æI×Ö„t·µ»Ø true£¬·ñ„t·µ»Ø false¡£

object.Exists(key) 

…¢”µ(sh¨´)

object
±Øßxí—¡£¿‚ÊÇÒ»‚€ Dictionary Œ¦ÏóµÄÃû·Q¡£
key
±Øßxí—¡£ÐèÒªÔÚ Dictionary Œ¦ÏóÖÐËÑË÷µÄ key Öµ¡£

ÕfÃ÷

ÏÂÃæß@‚€Àý×ÓÕfÃ÷ÁË Exists ·½·¨µÄÓ÷¨¡£

[JScript]
function keyExists(k)
{
   var fso, s = "";
   d = new ActiveXObject("Scripting.Dictionary");
   d.Add("a", "Athens");
   d.Add("b", "Belgrade");
   d.Add("c", "Cairo");
   if (d.Exists(k))
      s += "Specified key exists.";
   else 
      s += "Specified key doesn't exist.";
   return(s);
}
[VBScript]
Function KeyExistsDemo
   Dim d, msg   ' Create some variables.
   Set d = CreateObject("Scripting.Dictionary")
   d.Add "a", "Athens"   ' Add some   keys and items.
   d.Add "b", "Belgrade"
   d.Add "c", "Cairo"
   If d.Exists("c") Then
      msg = "Specified key exists."
   Else
      msg = "Specified key doesn't exist."
   End If
   KeyExistsDemo = msg
End Function

Õˆ…¢é†

Add ·½·¨ (Dictionary) | Items ·½·¨ | Keys ·½·¨ | Remove ·½·¨ | RemoveAll ·½·¨
‘ª(y¨©ng)ÓÃÓÚ£ºDictionary Œ¦Ïó