DIAdem Help

Method: Exists for IndexedProperties

  • Updated2024-09-12
  • 2 minute(s) read

Method: Exists for IndexedProperties

Checks in a DataFinder whether the IndexedProperties object already exists with the specified name.

bExists = Object.Exists(Name)
ObjectIndexedProperties
Object with this method
NameString
Specifies the name of the property to be checked.
bExistsBoolean
The value is TRUE if the collection contains an object with the specified name.

The following example checks whether the property test already exists in the indexed files:

VBScriptPython

 

Dim oMyProperties, oMyQueryForm
Set oMyQueryForm = Navigator.Display.CurrDataFinder.QueryForm
Set oMyProperties = oMyQueryForm.GetIndexedProperties(eSearchFile)
Call MsgBoxDisp(oMyProperties.Exists("test"))

Log in to get a better experience