Leadtools.Forms.Auto Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AddChildCategory Method
See Also 
Leadtools.Forms.Auto Namespace > IMasterFormsCategory Interface : AddChildCategory Method



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

Syntax

Visual Basic (Declaration) 
Overridable Function AddChildCategory( _
   ByVal name As String _
) As IMasterFormsCategory
Visual Basic (Usage)Copy Code
Dim instance As IMasterFormsCategory
Dim name As String
Dim value As IMasterFormsCategory
 
value = instance.AddChildCategory(name)
C# 
virtual IMasterFormsCategory AddChildCategory( 
   string name
)
C++/CLI 
virtual IMasterFormsCategory^ AddChildCategory( 
   String^ name
) 

Parameters

name
Name of the category.

Return Value

Returns an object of the created IMasterFormsCategory.

Example

A full example implementation of this interface can be found in <Install Directory>\Examples\DotNet\CS\AutoMasterFormsRepository.

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features