PstCd::GetPostalCodeSearchText (Interface: PstCd)
 
Gets the unformatted search text for a postal code.
 
BSTR GetPostalCodeSearchText (
    BSTR bsPostalCode
)
 
Parameters
bsPostalCode
[in] The postal code of which you want the unformatted text.
 
Return value
A BSTR containing the unformatted postal code text that can be used to seek a postal code card.
 
See Also
CreatePstCd
 
Samples
 
C++
 
// Get the unformatted postal code search text for postal code '1012 LP' (Amsterdam)
CString strSearchText = (LPCSTR)pPstCd->GetPostalCodeSearchText ("1012 LP");

C#
 
// Get the unformatted postal code search text for postal code '1012 LP' (Amsterdam)
string searchText = oPstCd.GetPostalCodeSearchText ("1012 LP");

VBS
 
' Get the unformatted postal code search text for postal code '1012 LP' (Amsterdam)
Dim searchText
searchText = oPstCd.GetPostalCodeSearchText("1012 LP")

VB.NET
 
' Get the unformatted postal code search text for postal code '1012 LP' (Amsterdam)
Dim searchText As String
searchText = oPstCd.GetPostalCodeSearchText("1012 LP")