LEADTOOLS Forms (Leadtools.Forms.Auto assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AddChildCategory Method
See Also 
Leadtools.Forms.Auto Namespace > IMasterFormsCategory Interface : AddChildCategory Method



name
Name of the category.

The AddChildCategory Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

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) 
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# 
IMasterFormsCategory AddChildCategory( 
   string name
)
C++/CLI 
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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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