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
- bstrCountryCode
Type: System..::.String
- bstrStateCode
Type: System..::.String
Return Value
Type: System..::.String
Implements
IAppConfig..::.GetRegionNameFromCountryCodeAndRegionCode(String, 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.