Technical Reference > Graphics Builder Automation Interface > Metadata Functions > PropertiesSelectFirstMetadata

PropertiesSelectFirstMetadata

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 thecurrent 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