GetCountryNameFromCountryCode Method
NOTE: This API is now obsolete.
Namespace: Microsoft.CommerceServer.Interop.Configuration
Assembly: Microsoft.CommerceServer.Interop (in Microsoft.CommerceServer.Interop.dll)
Syntax
'Declaration
<ObsoleteAttribute("GetCountryNameFromCountryCode() is obsolete. Use OrderContext.GetRegionCodes() instead.")> _
Public Overridable Function GetCountryNameFromCountryCode ( _
bstrCountryCode As String _
) As String
'Usage
Dim instance As AppConfigClass
Dim bstrCountryCode As String
Dim returnValue As String
returnValue = instance.GetCountryNameFromCountryCode(bstrCountryCode)
[ObsoleteAttribute("GetCountryNameFromCountryCode() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
public virtual string GetCountryNameFromCountryCode(
string bstrCountryCode
)
[ObsoleteAttribute(L"GetCountryNameFromCountryCode() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
public:
virtual String^ GetCountryNameFromCountryCode(
[InAttribute] String^ bstrCountryCode
)
public function GetCountryNameFromCountryCode(
bstrCountryCode : String
) : String
Parameters
- bstrCountryCode
Type: System..::.String
Return Value
Type: System..::.String
Implements
IAppConfig..::.GetCountryNameFromCountryCode(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.