AddChildCategory Method

Summary

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

Syntax
C#
VB
C++
public IMasterFormsCategory AddChildCategory( 
   string name 
) 
  
Function AddChildCategory( _ 
   ByVal name As String _ 
) As IMasterFormsCategory 
IMasterFormsCategory^ AddChildCategory(  
   String^ 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 <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