wtoa
Method of IApplication
Description
Converts Unicode text to ASCII.
Parameters
- BSTR strText
- UINT nCodePage = 0 (optional)
- VARIANT_BOOL bAsBinaryArray = VARIANT_FALSE (optional)
Return Value
- VARIANT pData
Syntax
JavaScript
var pData = Application.wtoa(strText, nCodePage, bAsBinaryArray);
Visual Basic Script
pData = Application.wtoa strText, nCodePage, bAsBinaryArray
C++
VARIANT Data; HRESULT hr = Application.wtoa(strText, nCodePage, bAsBinaryArray, &Data);