a DOMException with code
NO_MODIFICATION_ALLOWED_ERR is raised when the list
corresponds to a read only attribute or when the object itself is
read only.
a DOMException with code
NO_MODIFICATION_ALLOWED_ERR is raised when the list
corresponds to a read only attribute or when the object itself is
read only.
a DOMException with code
NO_MODIFICATION_ALLOWED_ERR is raised when the list
corresponds to a read only attribute or when the object itself is
read only.
insertItemBefore(in string
newItem, in unsigned long index)
a DOMException with code
NO_MODIFICATION_ALLOWED_ERR is raised when the list
corresponds to a read only attribute or when the object itself is
read only.
replaceItem(in string
newItem, in unsigned long index)
string
リスト内の項目を新項目に置き換えます。newItem
がリスト内にすでに存在する場合、リストに挿入される前に以前のリストから削除されます。挿入される項目は項目自身でコピーではありません。項目がリストにすでに存在する場合、注意点として置換する項目の
index は項目を削除する前の時点です。
Exceptions:
a DOMException with code
NO_MODIFICATION_ALLOWED_ERR is raised when the list
corresponds to a read only attribute or when the object itself is
read only.
a DOMException with code
INDEX_SIZE_ERR is raised if the index number is greater
than or equal to numberOfItems.
removeItem(in unsigned long index)
string
リストから既存項目を削除します。
Exceptions:
a DOMException with code
NO_MODIFICATION_ALLOWED_ERR is raised when the list
corresponds to a read only attribute or when the object itself is
read only.
a DOMException with code
INDEX_SIZE_ERR is raised if the index number is greater
than or equal to numberOfItems.
a DOMException with code
NO_MODIFICATION_ALLOWED_ERR is raised when the list
corresponds to a read only attribute or when the object itself is
read only.