LEADTOOLS Forms (Leadtools.Forms.Auto assembly)
LEAD Technologies, Inc

Clear Method (DiskMasterFormsCategory)






Removes all Master Forms in MasterForms and all child categories from ChildCategories and deletes them all from the local disk.
Syntax
public virtual void Clear()
'Declaration
 
Public Overridable Sub Clear() 
'Usage
 
Dim instance As DiskMasterFormsCategory
 
instance.Clear()
public virtual void Clear()
 function Leadtools.Forms.Auto.DiskMasterFormsCategory.Clear()
public:
virtual void Clear(); 
Remarks

The source code of this interface implementation class is available at <Install Directory>\Examples\DotNet\CS\AutoMasterFormsRepository.

The directory of this DiskMasterFormsCategory will have no Master Form or sub-directory inside it after this method is performed.

The stored Master Forms data and directories will be deleted and cannot be restored. If the user want to do a different action he can inherit this call and override this method or he can do his own implementation of IMasterFormsCategory. Be advised to have a back up copy of all Master Forms if this used this class, in case you have deleted the wrong Category.

There is no need to call DiskMasterFormsRepository.Refresh since the repository that this Master Form belongs will be updated with this deletion.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DiskMasterFormsCategory Class
DiskMasterFormsCategory Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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