Remove
ASP Remove metodi
❮ Dictionary obyektining to‘liq ma’lumotnomasi
Remove metodi Dictionary obyektidan ko‘rsatilgan bitta kalit/element juftligini o‘chiradi.
Sintaksis
DictionaryObject.Remove(key)
| Parametr | Tavsif |
|---|---|
| key | Majburiy. O‘chiriladigan kalit/element juftligi bilan bog‘langan kalit |
Misol
<%
dim d,a,i
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "n","Norway"
d.Add "i","Italy"
d.Add "s","Sweden"
d.Remove("n")
Response.Write("<p>Key values:</p>")
a=d.Keys
for i=0 to d.Count-1
Response.Write(a(i))
Response.Write("<br>")
next
set d=nothing
%>
Output:
Key values:
i
s
❮ Dictionary obyektining to‘liq ma’lumotnomasi
W3Schools Pathfinder
Yutuqlaringizni kuzating – bu bepul!
