ResourceManager.GetResourceFileName Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Generates the name for the resource file for the given CultureInfo.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Protected Overridable Function GetResourceFileName ( _ culture As CultureInfo _ ) As String
Parameters
- culture
- Type: System.Globalization.CultureInfo
The culture for which a resource file name is constructed.
Return Value
Type: System.StringThe name that can be used for a resource file for the given CultureInfo.
This method uses CultureInfo 's Name property as part of the file name for all cultures other than the invariant culture. This method does not look in an assembly's manifest or touch the disk, and is used only to construct what a resource file name or a manifest resource blob name should be.
A derived class can override this method to look for a different extension, such as ".ResX", or a completely different scheme for naming files.