COM - dpGetFormat()
Returns the format of the datapoint element.
Synopsis
HRESULT dpGetFormat([in] VARIANT vDpName, [out, retval] VARIANT *vFormat);
Parameter
| Parameter | Description |
|---|---|
| vDpName | Datapoint element or datapoint |
| vAlias | The format of datapoint element or datapoint. |
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
