Method: Exists for Properties <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Methods > Method: Exists for Properties <DataPlugin>
Method: Exists for Properties <DataPlugin>
Checks whether a Property object with a specific name exists.
iExists = Object.Exists(sName)
| Object | Properties <DataPlugin> Object with this method |
| sName | String Specifies the name of the property to be checked. |
| iExists | LongInteger The value is TRUE if the collection contains an object with the specified name. |
The following example generates the TimeEnd data set property only if the TimeBegin data set property already exists:
If Root.Properties.Exists("TimeBegin") Then Call Root.Properties.Add("TimeEnd", CreateTime(2004,6,17,10,0,0,0,0,0)) End If