Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

ParamTag Class

A ParamTag is a Tagged Value associated with a method parameter.

ParamTag Attributes:

Attribute

Type

Notes

ElementGUID

String

Read/Write

The GUID of the parameter with which this ParamTag is associated.

 

FQName

String

Read only

The fully qualified name of the tag.

 

ObjectType

ObjectType

Read only

Distinguishes objects referenced through a Dispatch interface.

 

PropertyGUID

String

Read/Write

A system generated GUID to identify the Tagged Value.

 

Tag

String

Read/Write

The actual tag name.

 

Value

String

Read/Write

The value associated with this tag.

 

ParamTag Methods:

Method

Type

Notes

GetAttribute(string propName)

String

Returns the text of a single named property within a structured tagged value.

 

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.

 

HasAttributes()

Boolean

Returns true if the tagged values is a structured tagged value with one or more properties.

 

SetAttribute(string propName, string propValue)

Boolean

Sets the text of a single named property within a structured tagged value.

 

Update ()

Boolean

Updates the current ParamTag object after modifying or appending a new item.

If false is returned, check the GetLastError function for more information.