Searches for a state in CMS that corresponds to to the specified Data.com state name, and returns it.
Namespace: CMS.DataComAssembly: CMS.DataCom (in CMS.DataCom.dll) Version: 10.0.0
SyntaxStateInfo Find(
string name,
CountryInfo country
)
Parameters
- name
- Type: SystemString
The Data.com state name. - country
- Type: CMS.GlobalizationCountryInfo
The CMS country to which the state belongs.
Return Value
Type:
StateInfoThe CMS state that corresponds to the specified Data.com state name, if found; otherwise, null.
See Also