次の方法で共有


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.")> _
Public Overridable Function GetRegionNameFromCountryCodeAndRegionCode ( _
    bstrCountryCode As String, _
    bstrStateCode As String _
) As String
'Usage
Dim instance As AppConfigClass
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.")]
public virtual string GetRegionNameFromCountryCodeAndRegionCode(
    string bstrCountryCode,
    string bstrStateCode
)
[ObsoleteAttribute(L"GetRegionNameFromCountryCodeAndRegionCode() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
public:
virtual String^ GetRegionNameFromCountryCodeAndRegionCode(
    [InAttribute] String^ bstrCountryCode, 
    [InAttribute] String^ bstrStateCode
)
public function GetRegionNameFromCountryCodeAndRegionCode(
    bstrCountryCode : String, 
    bstrStateCode : String
) : String

Parameters

Return Value

Type: System..::.String

Implements

IAppConfig..::.GetRegionNameFromCountryCodeAndRegionCode(String, String)

Permissions

See Also

Reference

AppConfigClass Class

AppConfigClass Members

Microsoft.CommerceServer.Interop.Configuration Namespace