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.")> _
Public Overridable Function GetRegionNamesListFromCountryCode ( _
bstrCountryCode As String _
) As ISimpleList
'Usage
Dim instance As AppConfigClass
Dim bstrCountryCode As String
Dim returnValue As ISimpleList
returnValue = instance.GetRegionNamesListFromCountryCode(bstrCountryCode)
[ObsoleteAttribute("GetRegionNamesListFromCountryCode() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
public virtual ISimpleList GetRegionNamesListFromCountryCode(
string bstrCountryCode
)
[ObsoleteAttribute(L"GetRegionNamesListFromCountryCode() is obsolete. Use OrderContext.GetRegionCodes() instead.")]
public:
virtual ISimpleList^ GetRegionNamesListFromCountryCode(
[InAttribute] String^ bstrCountryCode
)
public function GetRegionNamesListFromCountryCode(
bstrCountryCode : String
) : ISimpleList
Parameters
- bstrCountryCode
Type: System..::.String
Return Value
Type: Microsoft.CommerceServer.Runtime..::.ISimpleList
Implements
IAppConfig..::.GetRegionNamesListFromCountryCode(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.