CimClassDataItemExpressionList.Add (method)

Adds an expression.
Syntax: Set CimClassDataItemExpression = object.Add ( expressionId )
Parameters:
expressionId As String - Name of the attribute.
Description: CimClassDataItemExpression.Add adds a CimClassDataItemExpression based on the ID that is passed in. Use this method to create a CimClassDataItemExpression.

Examples

Dim class As CimClassInstance
Dim dataItem As CimPoint
Dim expression As CimClassDataItemExpression
[...]
Set dataItem = class.DataItems.Item("EXISTING_POINT")
Set expression = dataItem.Expressions.Add("NEW_EXPRESSION")