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

AVEVA™ Plant SCADA

PropertiesAddMetadata

  • Last UpdatedJul 13, 2023
  • 1 minute read

Adds a new metadata entry to the current object properties. This function will return an error if metadata with the specified name already exists.

Syntax

PropertiesAddMetadata (Name, Value)

Name:

The name of the new metadata entry to be added to the properties of the current object

Value:

The value of the new metadata to be added to the current object properties.

Return Value

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

Example

Adding a new element and setting its properties:

GraphicsBuilder.PropertiesAddMetadata("MyName","MyValue")

PropertiesMetadataValue, PropertiesMetadataName, PropertiesSelectNextMetadata, PropertiesSelectFirstMetadata, PropertiesDeleteMetadata, PropertiesSelectMetadataByName

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