DeleteChildCategory Method

Summary

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

Syntax
C#
VB
C++
public void DeleteChildCategory( 
   IMasterFormsCategory category 
) 
  
Sub DeleteChildCategory( _ 
   ByVal category As IMasterFormsCategory _ 
)  
void DeleteChildCategory(  
   IMasterFormsCategory^ category 
)  

Parameters

category
The child category to be deleted.

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.

Example

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

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly