←Select platform

AddChildCategory Method

Summary
Adds a new sub-category (child category) to this category in both the storage device and ChildCategories.

Syntax
C#
C++/CLI
Java
Python
public IMasterFormsCategory AddChildCategory( 
   string name 
) 
public abstract IMasterFormsCategory addChildCategory( 
   java.lang.String name 
); 
IMasterFormsCategory^ AddChildCategory(  
   String^ name 
)  
def AddChildCategory(self,name): 

Parameters

name
Name of the category.

Return Value

Returns an object of the created IMasterFormsCategory.

Remarks

The created sub-category (child category) is added to ChildCategories and should also be created on the storage device.

The repository does not need to be refreshed after this modification to the storage device since the repository is updated by this method.

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.