LoadDataFromRegionInfo Method

CultureAndRegionInfoBuilder.LoadDataFromRegionInfo Method (RegionInfo)

 

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.

Exception Condition
ArgumentNullException

region is null.

ArgumentException

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft