LEADTOOLS Forms (Leadtools.Forms.Auto assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DeleteChildCategory Method
See Also 
Leadtools.Forms.Auto Namespace > IMasterFormsCategory Interface : DeleteChildCategory Method



category
The child category to be deleted.

The DeleteChildCategory Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

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) 
Sub DeleteChildCategory( _
   ByVal category As IMasterFormsCategory _
) 
Visual Basic (Usage)Copy Code
Dim instance As IMasterFormsCategory
Dim category As IMasterFormsCategory
 
instance.DeleteChildCategory(category)
C# 
void DeleteChildCategory( 
   IMasterFormsCategory category
)
C++/CLI 
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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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