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
- bstrCountryCode
Type: System..::.String
- bstrStateCode
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.