Gets the value of the variable as a String. | |
Syntax: | String = object.GetValueAsString ( ) |
Description: | This method may be slightly faster than using the
Value property. Example: Sub GefObjectVariable_GetValueAsString() Dim oCimObj As GefObject Dim oCimObjVars As
GefObjectVariables Dim oCimObjVar As
GefObjectVariable Dim nI As Integer Set oCimObj = CimGetObject Set oCimObjVars =
oCimObj.Variables For nI = 0 To oCimObjVars.Count -
1 Set
oCimObjVar = oCimObjVars.Item(nI) MsgBox "The
string evaluation of " & _ """" & oCimObjVar.Value & """" & " is " & _ """" & oCimObjVar.GetValueAsString & """" Next nI End Sub |