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