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
- bstrCountryName
Type: System..::.String
Return Value
Type: System..::.String
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.