预订演示

请注意 : 本帮助页面不适用于最新版本的Enterprise Architect. 最新的帮助文档在这里.

前页 后页

ParamTag类

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

Associated table in repository

t_taggedvalue

ParamTag Attributes

Attribute

Remarks

See also

ElementGUID

String
Notes: Read/Write
The GUID of the parameter with which this ParamTag is associated.

FQName

String
Notes: Read only
The fully qualified name of the tag.

ObjectType

ObjectType
Notes: Read only
Distinguishes objects referenced through a Dispatch interface.
ObjectType

PropertyGUID

String
Notes: Read/Write
A system generated GUID to identify the Tagged Value.

Tag

String
Notes: Read/Write
The actual tag name.

Value

String
Notes: Read/Write
The value associated with this tag.

ParamTag Methods

Method

Remarks

See also

GetAttribute(string propName)

String
Notes: Returns the text of a single named property within a structured Tagged Value.

GetLastError()

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

HasAttributes()

Boolean
Notes: Returns True if the Tagged Value is a structured Tagged Value with one or more properties.

SetAttribute(string propName, string propValue)

Boolean
Notes: Sets the text of a single named property within a structured Tagged Value.

Update()

Boolean
Notes: Updates the current ParamTag object after modifying or appending a new item.
If False is returned, check the 'GetLastError()' function for more information.