Removes all items from the collection.

 

   

Syntax
 

[C#]
void Clear()

[Visual Basic]
Sub Clear()

Throws Exceptions may throw NotSupportedException()

 

   

Params
 
Name Description
none  

 

   

Notes
 

Removes all items from the collection.

All Fields collections are read only so calling this function will generate a NotSupportedException.

 

   

Example
 

None.