前页 | 后页 |
Metric Class
A Metric is a named item with a weighting that can be associated with an element for purposes of building metrics about the model. Metrics are accessed through the Element Metrics collection.
Associated table in repository
t_objectmetrics
Metric Attributes
Attribute |
Remarks |
See also |
---|---|---|
Name |
String Notes: Read/Write The name of the metric. |
|
Notes |
String Notes: Read/Write Notes about this metric. |
|
ObjectType |
ObjectType Notes: Read only Distinguishes objects referenced through a Dispatch interface. |
ObjectType |
Type |
String Notes: Read/Write The metric type. |
|
Weight |
Long Notes: Read/Write A user-defined weighting for estimation or metric purposes. |
Metric 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: Updates the current Metric object after modification or appending a new item. If False is returned, check the 'GetLastError()' function for more information. |