IResourceService.GetResourceWriter(CultureInfo) 方法
定义
查找并返回指定区域性的资源编写器。Locates the resource writer for the specified culture and returns it.
public:
System::Resources::IResourceWriter ^ GetResourceWriter(System::Globalization::CultureInfo ^ info);
public System.Resources.IResourceWriter GetResourceWriter (System.Globalization.CultureInfo info);
abstract member GetResourceWriter : System.Globalization.CultureInfo -> System.Resources.IResourceWriter
Public Function GetResourceWriter (info As CultureInfo) As IResourceWriter
参数
- info
- CultureInfo
要为其创建资源编写器的资源的 CultureInfo。The CultureInfo of the resource for which to create a resource writer.
返回
指定区域性的 IResourceWriter 接口。An IResourceWriter interface for the specified culture.
注解
此方法为指定的区域性创建新资源,并销毁现有资源(如果已存在)。This method creates a new resource for the specified culture and destroys an existing resource, if one already exists.