次の方法で共有


GetRegionCodeFromCountryCodeAndRegionName Method

NOTE: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("GetRegionCodeFromCountryCodeAndRegionName() is obsolete. Use OrderContext.GetRegionCodes() instead.")> _
Public Overridable Function GetRegionCodeFromCountryCodeAndRegionName ( _
    bstrCountryCode As String, _
    bstrStateName As String _
) As String
'Usage
Dim instance As AppConfigClass
Dim bstrCountryCode As String
Dim bstrStateName As String
Dim returnValue As String

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

Parameters

Return Value

Type: System..::.String

Implements

IAppConfig..::.GetRegionCodeFromCountryCodeAndRegionName(String, String)

Permissions

See Also

Reference

AppConfigClass Class

AppConfigClass Members

Microsoft.CommerceServer.Interop.Configuration Namespace