Edit

Share via


IResourceService.GetResourceReader(CultureInfo) Method

Definition

Locates the resource reader for the specified culture and returns it.

public:
 System::Resources::IResourceReader ^ GetResourceReader(System::Globalization::CultureInfo ^ info);
public System.Resources.IResourceReader GetResourceReader (System.Globalization.CultureInfo info);
public System.Resources.IResourceReader? GetResourceReader (System.Globalization.CultureInfo info);
abstract member GetResourceReader : System.Globalization.CultureInfo -> System.Resources.IResourceReader
Public Function GetResourceReader (info As CultureInfo) As IResourceReader

Parameters

info
CultureInfo

The CultureInfo of the resource for which to retrieve a resource reader.

Returns

An IResourceReader interface that contains the resources for the culture, or null if no resources for the culture exist.

Remarks

If no resources are associated with the designer for the specified culture, this method returns null.

Applies to

See also