Property: DataType for IndexedProperty



DIAdem 2018ヘルプ


発行年月: 2018年6月
製品番号: 370858P-0112
製品情報を参照

ダウンロード (Windowsのみ)


DIAdem 2017 ヘルプ
DIAdem 2018 ヘルプ
DIAdem 2019 ヘルプ
DIAdem 2020 ヘルプ
DIAdem 2020 SP1 ヘルプ

Specifies in a DataFinder the data type of a property or a custom property.

Object.DataType
ObjectIndexedProperty
Object with this property
Object.DataTypeEnumeration with read access and the following selection terms:
0DataTypeOptiUnknownUnknown data type
3DataTypeOptiInt3232-bit integer
10DataTypeOptiFloat6464-bit floating point
23DataTypeOptiStringText
30DataTypeOptiDateDate/Time
101DataTypeOptiAutomaticAutomatic
Note  If a custom property is optimized in DIAdem, the DataType property returns the data type for which DIAdem optimized the property. For non-optimized custom properties, the DataType property returns the value DataTypeOptiUnknown.

The following example lists the names of all optimized custom properties of a channel:

Dim oMyProperty
For Each oMyProperty in Navigator.Display.CurrDataFinder.QueryForm.GetIndexedProperties(eSearchChannel)
  If oMyProperty.Default = False Then
    If oMyProperty.DataType <> DataTypeOptiUnknown Then 
      Call MsgBoxDisp(oMyProperty.Name)
    End If
  End If
Next


この記事は役に立ちましたか。

役に立たなかった