| 
       | 
        
       | Object Model Reference : Classes : D : DataItem : Methods : DataItem.Clear  | 
      
Sub Clear()
Member of DataItem
The Clear method removes the data by assigning an empty value to the field.
The Name and CDRStaticID fields are read-only and cannot be modified.
The following VBA example clears all data assigned to the currently selected shape.
Sub Test()  | 
 Dim di As DataItem  | 
 For Each di In ActiveShape.ObjectData  | 
  di.Clear  | 
 Next di  | 
End Sub  | 
| 
       | 
        
       | 
		      
		          
		             | 
      
Copyright 2013 Corel Corporation. All rights reserved.