GetValue

<< Click to Display Table of Contents >>

 

GetValue

GetValue(TagName)

This method searches for an object's value specified in the TagName parameter. If TagName points to a property, this method returns that property's value. However, if TagName parameter specifies an object, this method returns the value of that object's Value property. Example:

Sub Button1_Click()
  ' When clicking this button
  ' retrieves a Tag value
  ' executed on a Data Server
  X = Application.GetValue("DataServer1.InternalTag1")
End Sub

Was this page useful?