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



masterForm
The Master Form to be deleted.
masterForm
The Master Form to be deleted.
Removes the specified Master Form from IMasterFormsCategory.MasterForms and deletes it from the storage device.

Syntax

Visual Basic (Declaration) 
Overridable Sub DeleteMasterForm( _
   ByVal masterForm As IMasterForm _
) 
Visual Basic (Usage)Copy Code
Dim instance As IMasterFormsCategory
Dim masterForm As IMasterForm
 
instance.DeleteMasterForm(masterForm)
C# 
virtual void DeleteMasterForm( 
   IMasterForm masterForm
)
C++/CLI 
virtual void DeleteMasterForm( 
   IMasterForm^ masterForm
) 

Parameters

masterForm
The Master Form to be deleted.

Example

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

Remarks

This method is supposed to remove the specified Master Form inside IMasterFormsCategory object. Deleting it from the storage device is recommended to make the repository represent the actual storage device, if it is not deleted then the next time you create new IMasterFormsRepository or call IMasterFormsRepository.Refresh the removed Master Form inside this category will show up again.

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