预订演示

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

前页 后页

PropertiesTab Class

PropertiesTab Attributes

Attribute

Remarks

See also

PropertiesTab Methods

Method

Remarks

See also

AddPropertiesTab (string TabName, string PropXML)

Adds a Properties tab.
Returns TRUE if the tab was added.
Parameters:

  • TabName: String - The name of the Properties tab

  • PropXML: String - An XML string defining the values in the tab

GetLastError ()

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

GetPropertiesTab (string TabName)

Notes: Locates a Properties tab.
Returns TRUE if the tab is found.
Parameters:

  • TabName: String - The name of the Properties tab

GetPropertiesXML ()

Notes: Returns the XML string of the properties.

GetProperty (long PropID)

Notes: Returns a string of the Property value.
Parameters:

  • PropID: long - The ID value of the property

RemovePropertiesTab ()

Notes: Removes a Properties tab.
Returns TRUE if the tab is removed.

SetPropertiesXML (string PropXML)

Notes: Sets the Properties values in the tab.
Returns TRUE if the properties were set successfully.
Parameters:

  • PropXML: String - An XML string defining the values in the tab

SetProperty (long PropID, string Value)

Notes: Returns TRUE if the value was set successfully.
Parameters:

  • PropID: long - The ID value of the property to set

  • Value: String - The value to set the property to