Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

PropertiesSelectMetadataByName

  • Last UpdatedJul 13, 2023
  • 1 minute read

Selects the specified metadata in the current page.

Syntax

PropertiesSelectMetadataByName(BSTR Name)

Name:

The name of the metadata to be selected.

Return Value

0 (zero) if successful, otherwise an error is returned.

Example

Determining whether an metadata with a particular name exists:

On Error Resume Next

Err.Clear()

GraphicsBuilder.PropertiesSelectMetadataByName("MyName")

If (Err.Number <> 0)

' The metadata does not exist

End If

PropertiesDeleteMetadata

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in