TaggedValue

public Class

A TaggedValue is a named property and value associated with an element. It is accessed through the TaggedValues collection.

Associated table in .EAP file: t_objectproperties

TaggedValue Attributes

Attribute

Type

Notes

ElementID

Long

Read/Write. The local ID of the associated element.

Name

String

Read/Write. Name of the tag.

Notes

String

Read/Write. Further descriptive notes about this tag.

If Value (below) is set to "<memo>", then Notes should contain the actual Tagged Value content.

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

PropertyGUID

String

Read/Write. The tag global ID.

PropertyID

Long

Read only. The tag local ID.

Value

String

Read/Write. The value assigned to this tag.

This field has a 255 character limit. If the value is greater than 255 characters long, set the value to "<memo>" and insert the body of text in the Notes attribute (above).

When reading existing Tagged Values, if Value = "<memo>" then the developer should read the actual body of text from the Notes attribute.

TaggedValue Methods

Method

Type

Notes

GetLastError()

String

Returns a string value describing the most recent error that occurred in relation to this object.

This function is rarely used as an exception is thrown when an error occurs.

Update()

Boolean

Update the current TaggedValue object after modification or appending a new item. If false is returned, check the GetLastError function for more information.