GetAgentryString

Note: This method has been deprecated with the 5.2.8 service pack release of the Agentry Mobile Platform. The method ProperyAsString should be used in its place. This method is supported for backwards compatibility only. New development should use the PropertyAsString method in all cases, as GetAgentryString may be removed at a future time.

This method can be called to access a value on the Agentry Client. This value must be defined as an Agentry Data item in the External Field - ActiveX Control detail screen field. The name of the value, as defined in the Agentry Data list, is passed to the methods DataItem parameter. The value of that item is returned in the agentryString parameter as a string value regardless of the property’s data type within the mobile application.

Prototype

HRESULT GetAgentryString (BSTR DataItem, BSTR agentryString)

Return Value

The HRESULT return indicates the status of the method call.