| IAddressExtensionsGetCountryTwoLetterCode Method | 
            Returns two-letter country code for country specified by AddressCountryID property.
            
 
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
 Syntax
Syntaxpublic static string GetCountryTwoLetterCode(
	this IAddress address
)
Parameters
- address
- Type: CMS.EcommerceIAddress
 Object implementing IAddress interface.
Return Value
Type: 
StringTwo-letter country code or empty string when country not found.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IAddress. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
 See Also
See Also