←Select platform

AddChildCategory Method (IMasterFormsCategory)

Summary

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

Syntax

C#
VB
C++
Leadtools.Forms.Auto.IMasterFormsCategory AddChildCategory(  
   string name 
) 
Function AddChildCategory( _ 
   ByVal name As String _ 
) As Leadtools.Forms.Auto.IMasterFormsCategory 
Leadtools.Forms.Auto.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.Auto Assembly
Click or drag to resize