The AddChildCategory Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- name
- Category Name.
Visual Basic (Declaration) | |
---|---|
Public Overridable Function AddChildCategory( _ ByVal name As String _ ) As IMasterFormsCategory |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DiskMasterFormsCategory Dim name As String Dim value As IMasterFormsCategory value = instance.AddChildCategory(name) |
C# | |
---|---|
public virtual IMasterFormsCategory AddChildCategory( string name ) |
C++/CLI | |
---|---|
public: virtual IMasterFormsCategory^ AddChildCategory( String^ name ) |
Parameters
- name
- Category Name.
Return Value
Returns the created IMasterFormsCategory object.Visual Basic | Copy Code |
---|---|
Public Sub AutoFormsAddCategory(ByVal category As IMasterFormsCategory, ByVal name As String) category.AddChildCategory(name) End Sub |
C# | Copy Code |
---|---|
public void AutoFormsAddCategory(IMasterFormsCategory category, string name) { category.AddChildCategory(name); } |
The source code of this interface implementation class is available at <Install Directory>\Examples\DotNet\CS\AutoMasterFormsRepository.
A directory will be created on the local disk inside this category Path with name name. This created category object will be added to ChildCategories.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7