DIAdem Help

Collection: IndexedProperties

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

Collection: IndexedProperties

The IndexedProperties collection provides in a DataFinder a collection of all indexed properties and custom properties of the specified type (eSearchFile, eSearchChannelGroup, eSearchChannel).

The following example determines the indexed properties and custom properties of all channel groups in the search areas and optimizes the custom property Test_Name:

VBScriptPython

 

Dim oMyDataFinder, oMyPropertyList, oMyDataFinderSettings
Set oMyDataFinder = Navigator.ConnectDataFinder("My DataFinder")
Set oMyDataFinderSettings = oMyDataFinder.GetSettings
Set oMyPropertyList = oMyDataFinder.GetIndexedProperties(eSearchChannelGroup)
If oMyPropertyList.Exists("Test_Name") Then
  If oMyPropertyList.Item("Test_Name").DataType = DataTypeOptiUnknown Then
    Call oMyDataFinderSettings.OptimizeCustomProperty(eSearchChannelGroup, "Test_Name", DataTypeString)
  End If
End If

Properties

Count

Methods

Exists | Item

Log in to get a better experience