Click or drag to resize
StateInfoProviderGetStateInfo Method (String)

Note: This API is now obsolete.

Returns the StateInfo structure for the specified state.

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IStateInfoProvider.Get(string) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - StateInfo.Provider.")]
public static StateInfo GetStateInfo(
	string stateName
)

Parameters

stateName
Type: SystemString
StateName

Return Value

Type: StateInfo
See Also