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.")> _
Function GetRegionCodeFromCountryCodeAndRegionName ( _
bstrCountryCode As String, _
bstrStateName As String _
) As String
'Usage
Dim instance As IAppConfig
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.")]
string GetRegionCodeFromCountryCodeAndRegionName(
string bstrCountryCode,
string bstrStateName
)
[ObsoleteAttribute(L"GetRegionCodeFromCountryCodeAndRegionName() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
String^ GetRegionCodeFromCountryCodeAndRegionName(
[InAttribute] String^ bstrCountryCode,
[InAttribute] String^ bstrStateName
)
function GetRegionCodeFromCountryCodeAndRegionName(
bstrCountryCode : String,
bstrStateName : String
) : String
Parameters
- bstrCountryCode
Type: System..::.String
- bstrStateName
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.