ResourceManager::GetResourceFileName Method
Generates the name for the resource file for the given CultureInfo.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- culture
- Type: System.Globalization::CultureInfo
The CultureInfo 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 (suitable for passing to the ResourceReader constructor) 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.
- ReflectionPermission
when invoked late-bound through mechanisms such as Type::InvokeMember. Associated enumeration: ReflectionPermissionFlag::MemberAccess.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.