dOPC Client Toolkit Help file
dOPCComn.VarToAStr Function
C++
AnsiString VarToAStr(
    const OLEVariant Value
);
C#
String VarToAStr(
    OLEVariant Value
);
Visual Basic
Function VarToAStr(
    Value As OLEVariant
) As String

dOPCComn

converts a OleVariant to Delphi string also convert a array to string 

converts a OleVariant to Delphi string also convert a array to string 

VarToAStr converts the data in the OleVariant parameter Value to a string and returns the result.

If the OleVariant parameter has a null value, VarToAStr returns an empty string. The Data in Value can also be an OleVariant array. The result would be a string delimited by semicolon.

VarToStr

What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.