预订演示

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

前页 后页

TemplateBinding类

A TemplateBinding defines the connector between a binding Class and a parameterized Class, and the binding expression on that connector.

TemplateBinding Attributes

Attribute

Remarks

See also

ActualGUID

String
Notes: Read/Write
The GUID of the element classifier set as the Actual Template Binding parameter.
If the Actual Template Binding parameter is set as a string expression only, this will be an empty string.
Assigning a GUID value will automatically change the ActualName attribute after Update() has been called.

ActualName

String
Notes: Read/Write
The name of the Actual Template Binding parameter.
Assigning a new value will clear any current ActualGUID value.

BindingExpression

String
Notes: Read only
The Binding Expression as shown in Enterprise Architect.

ConnectorGUID

String
Notes: Read only
The Globally Unique ID of the associated connector.

ConnectorType

String
Notes: Read only
The type of the associated connector.

FormalName

String
Notes: Read/Write
The name of the Formal Template Binding parameter.

ObjectType

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

Pos

String
Notes: Read only
The position of the Template Binding in the list (as on the 'Bindings' page of the connector 'Properties' dialog).

TemplateBindingID

String
Notes: Read only
The Globally Unique ID of the current Template Binding.

TemplateBinding Methods

Method

Remarks

See also

GetLastError()

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

Update()

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

Learn more