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: 9.0.0
Syntax StateInfo 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