Export (0) Print
Expand All

clear method

Clears all existing items from the list, which creates an empty list.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4Internet Explorer 9

 

Syntax


HRESULT retVal = object.clear();

Parameters

This method has no parameters.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
W3CException_DOM_NO_MODIFICATION_ALLOWED_ERR

IE9 mode only.

An attempt is made to modify an object that cannot be changed.

 

Exceptions

ExceptionCondition
NoModificationAllowedError

An attempt is made to modify an object that cannot be changed. For versions earlier than Internet Explorer 10, NO_MODIFICATION_ALLOWED_ERR is returned.

 

Standards information

 

 

Community Additions

ADD
Show:
© 2014 Microsoft