CultureAndRegionInfoBuilder.LoadDataFromCultureInfo(CultureInfo) 方法

定义

用指定 CultureInfo 对象的相应属性设置当前 CultureAndRegionInfoBuilder 对象的属性。Sets the properties of the current CultureAndRegionInfoBuilder object with the corresponding properties of the specified CultureInfo object.

public:
 void LoadDataFromCultureInfo(System::Globalization::CultureInfo ^ culture);
public void LoadDataFromCultureInfo (System.Globalization.CultureInfo culture);
member this.LoadDataFromCultureInfo : System.Globalization.CultureInfo -> unit
Public Sub LoadDataFromCultureInfo (culture As CultureInfo)

参数

culture
CultureInfo

其属性将被使用的对象。The object whose properties will be used.

例外

culturenullculture is null.

适用于