Click or drag to resize
IStateFinderFind Method
Searches for a state in CMS that corresponds to to the specified Data.com state name, and returns it.

Namespace: CMS.DataCom
Assembly: CMS.DataCom (in CMS.DataCom.dll) Version: 9.0.0
Syntax
C#
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: StateInfo
The CMS state that corresponds to the specified Data.com state name, if found; otherwise, null.
See Also