←Select platform

DeleteChildCategory Method

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

Syntax
C#
C++/CLI
Java
Python
public void DeleteChildCategory( 
   IMasterFormsCategory category 
) 
public abstract void deleteChildCategory( 
   IMasterFormsCategory category 
); 
void DeleteChildCategory(  
   IMasterFormsCategory^ category 
)  
def DeleteChildCategory(self,category): 

Parameters

category
The child category to be deleted.

Remarks

This method is supposed to remove the specified sub-category inside an 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 <INSTALLDIR>\Examples\Forms\DotNet\AutoMasterFormsRepository.

Requirements

Target Platforms

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

Leadtools.Forms.Auto Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.