Click or drag to resize
StateInfoProviderGetStateInfo Method (Int32)

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(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - StateInfo.Provider.")]
public static StateInfo GetStateInfo(
	int stateId
)

Parameters

stateId
Type: SystemInt32
State id

Return Value

Type: StateInfo
See Also