Partager via


GetRegionNameFromCountryCodeAndRegionCode Method

NOTE: This API is now obsolete.

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

Syntax

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

returnValue = instance.GetRegionNameFromCountryCodeAndRegionCode(bstrCountryCode, _
    bstrStateCode)
[ObsoleteAttribute("GetRegionNameFromCountryCodeAndRegionCode() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
string GetRegionNameFromCountryCodeAndRegionCode(
    string bstrCountryCode,
    string bstrStateCode
)
[ObsoleteAttribute(L"GetRegionNameFromCountryCodeAndRegionCode() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
String^ GetRegionNameFromCountryCodeAndRegionCode(
    [InAttribute] String^ bstrCountryCode, 
    [InAttribute] String^ bstrStateCode
)
function GetRegionNameFromCountryCodeAndRegionCode(
    bstrCountryCode : String, 
    bstrStateCode : String
) : String

Parameters

Return Value

Type: System..::.String

Permissions

See Also

Reference

IAppConfig Interface

IAppConfig Members

Microsoft.CommerceServer.Interop.Configuration Namespace