GefObjectVariable.Value (property)

Gets and sets the value of the variable as a variant.
Syntax: VARIANT = object.Value
object.Value = VARIANT
Description: The Value property gets and set the value of the variable.

Example:

Sub GefObjectVariable_Value()
    
    Dim oCimObj As GefObject
    Dim oCimObjVars As GefObjectVariables
    Dim oCimObjVar As GefObjectVariable
    
    Set oCimObj = CimGetObject
    Set oCimObjVars = oCimObj.Variables
    Set oCimObjVar = oCimObjVars.Item(0)
    
    MsgBox "The first variables value is " & _
        """" & oCimObjVar.Value & """"
    
End Sub