PropertiesSelectFirstMetadata
- Last UpdatedJul 13, 2023
- 1 minute read
Selects the first metadata entry from the properties of the current object.
Syntax
PropertiesSelectFirstMetadata()
Return Value
0 (zero) if successful, otherwise an error is returned.
Example
Determines whether the page properties of the current object has defined metadata:
On Error Resume Next
Err.Clear()
GraphicsBuilder.PropertiesSelectFirstMetadata()
If (Err.Number <> 0)
' The object has no metadata
End If
Related Functions
PropertiesMetadataValue, PropertiesMetadataName, PropertiesSelectNextMetadata,PropertiesDeleteMetadata, PropertiesAddMetadata, PropertiesSelectMetadataByName