←Select platform

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 Leadtools.Forms.Auto.IMasterFormsCategory _ 
)  
void DeleteChildCategory(  
   Leadtools.Forms.Auto.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly