Export (0) Print
Expand All

CultureAndRegionInfoBuilder.LoadDataFromRegionInfo Method

Sets the properties of the current CultureAndRegionInfoBuilder object with the corresponding properties of the specified RegionInfo object.

Namespace:  System.Globalization
Assembly:  sysglobl (in sysglobl.dll)

public void LoadDataFromRegionInfo(
	RegionInfo region
)

Parameters

region
Type: System.Globalization.RegionInfo

The object whose properties will be used.

ExceptionCondition
ArgumentNullException

region is null.

ArgumentException

Country/region information cannot be set because the current CultureAndRegionInfoBuilder object specifies a neutral culture.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft