Informs the ResourceManager of the neutral culture of an assembly. This class cannot be inherited.
For a list of all members of this type, see NeutralResourcesLanguageAttribute Members.
[Visual Basic] <AttributeUsage(AttributeTargets.Assembly)> NotInheritable Public Class NeutralResourcesLanguageAttribute Inherits Attribute [C#] [AttributeUsage(AttributeTargets.Assembly)] public sealed class NeutralResourcesLanguageAttribute : Attribute [C++] [AttributeUsage(AttributeTargets::Assembly)] public __gc __sealed class NeutralResourcesLanguageAttribute : public Attribute [JScript] public AttributeUsage(AttributeTargets.Assembly) class NeutralResourcesLanguageAttribute extends Attribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
The NeutralResourcesLanguageAttribute informs the ResourceManager of the language used to write the neutral culture's resources for an assembly. When looking up resources in the same culture as the neutral resources language, the ResourceManager will automatically use the resources located in the main assembly, instead of searching for a satellite assembly with the current user interface culture for the current thread. This will improve lookup performance for the first resource you load, and can reduce your working set.
Note Apply this attribute to your main assembly, passing it the name of the neutral language that will work with your main assembly.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: Mscorlib (in Mscorlib.dll)