mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Assembly) System.Runtime.InteropServices.ComVisible(true)

## Desktop Apps

In desktop apps, the attribute informs the resource manager of an app's default culture and the location of its resources. By default, resources are embedded in the main app assembly, and you can use the attribute as follows. This statement specifies that the English (United States) is the app's default culture.

code reference: System.Resources.NeutralResourcesLanguageAttribute#1

You can also use the attribute to indicate where can find the resources of the default culture by providing an enumeration value in the attribute statement. This is most commonly done to indicate that the resources reside in a satellite assembly. For example, the following statement specifies that English (United States) is the app's default or neutral culture and that its resources reside in a satellite assembly. The object will look for them in a subdirectory named en-US.

code reference: System.Resources.NeutralResourcesLanguageAttribute#2

We recommend that you always use the attribute to define the default culture of your app.

The attribute performs two roles:

If the default culture's resources are embedded in the app's main assembly and has to retrieve resources that belong to the same culture as the default culture, the automatically uses the resources located in the main assembly instead of searching for a satellite assembly. This bypasses the usual assembly probe, improves lookup performance for the first resource you load, and can reduce your working set. See Packaging and Deploying Resources for the process uses to probe for resource files.

If the default culture's resources are located in a satellite assembly rather than in the main app assembly, the attribute specifies the culture and the directory from which the runtime can load the resources.

## win8_appname_long Apps

In win8_appname_long apps whose resources are loaded and retrieved by using the class, the attribute defines the neutral culture whose resources are used in the event of a failed probe. It does not specify the location of the resources. By default, uses the app's package resource index (PRI) file to locate the resources of the default culture. The neutral culture that is defined by the attribute is added to the end of the UI language list to simulate this effect.

If you load and retrieve resources by using the wrt Windows.ApplicationModel.Resources.ResourceLoader class or the types in the Windows.ApplicationModel.Resources.Core namespace, the attribute is ignored.

Informs the resource manager of an app's default culture. This class cannot be inherited.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  For a detailed list of culture names, see National Language Support (NLS) API Reference at the Go Global Developer Center.

  Initializes a new instance of the class.

  The name of the culture that the current assembly's neutral resources were written in.
- Constructor
  2.0.0.0
  4.0.0.0

  Use the constructor with the enumeration to specify whether the class is to retrieve neutral fallback resources from the main app assembly (the default), or from a satellite assembly specified by the and the properties.

  For a detailed list of culture names, see National Language Support (NLS) API Reference at the Go Global Developer Center.

  Initializes a new instance of the class with the specified ultimate resource fallback location.

  The name of the culture that the current assembly's neutral resources were written in.
  One of the enumeration values that indicates the location from which to retrieve neutral fallback resources.
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.String To be added: an object of type 'string'

  For a detailed list of culture names, see National Language Support (NLS) API Reference at the Go Global Developer Center.

  Gets the culture name.

- Property
  2.0.0.0
  4.0.0.0
  System.Resources.UltimateResourceFallbackLocation To be added. To be added.

  Gets the location for the class to use to retrieve neutral resources by using the resource fallback process.