COM - dpGetFormat()
Returns the format of the data point element.
Synopsis
HRESULT dpGetFormat([in] VARIANT vDpName, [out, retval] VARIANT *vFormat);
Parameter
Parameter | Description |
---|---|
vDpName | Data point element or data point |
vAlias | The format of data point element or data point. |
Description
The parameter vDpNames supports both a single string and an array of strings. The result depends on what is used.
Example
(See ComSample.xls, CComSample)
Public Sub dpGetFormat()
Debug.Print moComManager.dpGetFormat("_mp_ANALOG2.analog.value")
End Sub
Assignment
COM