←Select platform

Delete(FullTextSearchItem) Method

Summary

Deletes master forms from the full text search database.

Syntax
C#
VB
C++
Java
public void Delete( 
   FullTextSearchItem item 
) 
Public MustOverride Sub Delete( 
   ByVal item As FullTextSearchItem 
) 
public:  
   virtual void Delete( 
      FullTextSearchItem^ item 
   ) abstract 

public abstract void delete( 
   FullTextSearchItem item 
); 

Parameters

item

Properties of the item(s) to be deleted. Must not be null.

Remarks

Used by FormRecognitionEngine or AutoFormsEngine to perform full text search.

This method deletes one or more master form pages from the full text search database.

This method uses the following properties of FullTextSearchItem:

Property Description
RepositoryName
Required: Used to generate the unique ID of this item. A value of null or "*" is considered wildcard.
FormName
Required: Used to generate the unique ID of this item. A value of null or "*" is considered wildcard.
PageNumber
Required: Used to generate the unique ID of this item. A value of -1 is considered wildcard.

The wildcard rules can be used to delete all master forms pages, all master forms of a repository or all forms in all repositories. For example to delete all items, use:

FullTextSearchItem.RepositoryName = "*" or null, FullTextSearchItem.FormName = "*" or null, FullTextSearchItem.PageNumber = -1

To delete all forms in a repository, use:

FullTextSearchItem.RepositoryName = "RepoName", FullTextSearchItem.FormName = "*" or null, FullTextSearchItem.PageNumber = -1

To delete a specific form, use:

FullTextSearchItem.RepositoryName = "RepoName", FullTextSearchItem.FormName = "FormName", FullTextSearchItem.PageNumber = -1

To delete a specific page, use:

FullTextSearchItem.RepositoryName = "RepoName", FullTextSearchItem.FormName = "FormName", FullTextSearchItem.PageNumber = pageNumber

Index must be called after Delete(FullTextSearchItem). Use IFullTextSearchManager.Delete(IEnumerable<FullTextSearchItem>) to delete multiple items with one call to increase performance.

Requirements
Target Platforms
Help Version 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Recognition Assembly