# ASP Remove Method
* * Complete Dictionary Object Reference Manual](#)
* * *
The Remove method deletes a specified key/item pair from a Dictionary object.
### Syntax
DictionaryObject.Remove(key)
| Parameter | Description |
| --- | --- |
| key | Required. The key associated with the key/item pair to be removed. |
### Example
<%
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("
Key values:
")
a=d.Keys
for i=0 to d.Count-1
Response.Write(a(i))
Response.Write("
")
next
set d=nothing
%>
Output:
Key values:
i
s
* * Complete Dictionary Object Reference Manual](#)