Leadtools.Forms.Auto Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Clear Method
See Also 
Leadtools.Forms.Auto Namespace > IMasterFormsCategory Interface : Clear Method



Removes all Master Forms and sub-categories (child categories) from IMasterFormsCategory.MasterForms and ChildCategories and deletes them from the storage device.

Syntax

Visual Basic (Declaration) 
Overridable Sub Clear() 
Visual Basic (Usage)Copy Code
Dim instance As IMasterFormsCategory
 
instance.Clear()
C# 
virtual void Clear()
C++/CLI 
virtual void Clear(); 

Example

A full example implementation of this interface can be found in <Install Directory>\Examples\DotNet\CS\AutoMasterFormsRepository.

Remarks

This method is supposed to remove all Master Forms and sub-categories inside IMasterFormsCategory object. Deleting them from the storage device is recommended to make the repository represent the actual storage device, if they are not deleted then the next time you create new IMasterFormsRepository or call IMasterFormsRepository.Refresh the Master Forms and the sub-Categories inside this category will show up again.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features