Jaa


GetCountryCodeFromCountryName Method

NOTE: This API is now obsolete.

Namespace:  Microsoft.CommerceServer.Interop.Configuration
Assembly:  Microsoft.CommerceServer.Interop (in Microsoft.CommerceServer.Interop.dll)

Syntax

'Declaration
<ObsoleteAttribute("GetCountryCodeFromCountryName() is obsolete. Use OrderContext.GetRegionCodes() instead.")> _
Function GetCountryCodeFromCountryName ( _
    bstrCountryName As String _
) As String
'Usage
Dim instance As IAppConfig
Dim bstrCountryName As String
Dim returnValue As String

returnValue = instance.GetCountryCodeFromCountryName(bstrCountryName)
[ObsoleteAttribute("GetCountryCodeFromCountryName() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
string GetCountryCodeFromCountryName(
    string bstrCountryName
)
[ObsoleteAttribute(L"GetCountryCodeFromCountryName() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
String^ GetCountryCodeFromCountryName(
    [InAttribute] String^ bstrCountryName
)
function GetCountryCodeFromCountryName(
    bstrCountryName : String
) : String

Parameters

Return Value

Type: System..::.String

Permissions

See Also

Reference

IAppConfig Interface

IAppConfig Members

Microsoft.CommerceServer.Interop.Configuration Namespace