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



category
The child category to be deleted.
category
The child category to be deleted.
Removes the specified sub-category (child category) from ChildCategories and deletes it from the storage device.

Syntax

Visual Basic (Declaration) 
Overridable Sub DeleteChildCategory( _
   ByVal category As IMasterFormsCategory _
) 
Visual Basic (Usage)Copy Code
Dim instance As IMasterFormsCategory
Dim category As IMasterFormsCategory
 
instance.DeleteChildCategory(category)
C# 
virtual void DeleteChildCategory( 
   IMasterFormsCategory category
)
C++/CLI 
virtual void DeleteChildCategory( 
   IMasterFormsCategory^ category
) 

Parameters

category
The child category to be deleted.

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 the specified sub-category inside a IMasterFormsCategory object. Deleting it from the storage device is recommended to make the repository represent the actual storage device, if it is not deleted then the next time you create new IMasterFormsRepository or call IMasterFormsRepository.Refresh the removed sub-Category 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