Venice
PstCd::GetCitySearchText
 
Gets the unformatted search text for a city.
 
BSTR GetCitySearchText (
    BSTR bsCity
)
 
Parameters
bsCity
[in] The city of which you want the unformatted text.
 
Return value
A BSTR containing the unformatted city text that can be used to seek a postal code card.
 
See Also
CreatePstCd
 
Samples
 
C++
 
// Get the unformatted city search text for city 'Lillois-Witterzée'
CString strSearchText = (LPCSTR)pPstCd->GetCitySearchText ("Lillois-Witterzée");

C#
 
// Get the unformatted city search text for city 'Lillois-Witterzée'
string searchText = oPstCd.GetCitySearchText ("Lillois-Witterzée");

VBS
 
' Get the unformatted city search text for city 'Lillois-Witterzée'
Dim searchText
searchText = oPstCd.GetCitySearchText("Lillois-Witterzée")

VB.NET
 
' Get the unformatted city search text for city 'Lillois-Witterzée'
Dim searchText As String
searchText = oPstCd.GetCitySearchText("Lillois-Witterzée")