NeutralResourcesLanguageAttribute NeutralResourcesLanguageAttribute NeutralResourcesLanguageAttribute NeutralResourcesLanguageAttribute Constructors

Definition

Overloads

NeutralResourcesLanguageAttribute(String) NeutralResourcesLanguageAttribute(String) NeutralResourcesLanguageAttribute(String) NeutralResourcesLanguageAttribute(String)

Initializes a new instance of the NeutralResourcesLanguageAttribute class.

NeutralResourcesLanguageAttribute(String, UltimateResourceFallbackLocation) NeutralResourcesLanguageAttribute(String, UltimateResourceFallbackLocation) NeutralResourcesLanguageAttribute(String, UltimateResourceFallbackLocation) NeutralResourcesLanguageAttribute(String, UltimateResourceFallbackLocation)

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

NeutralResourcesLanguageAttribute(String) NeutralResourcesLanguageAttribute(String) NeutralResourcesLanguageAttribute(String) NeutralResourcesLanguageAttribute(String)

Initializes a new instance of the NeutralResourcesLanguageAttribute class.

public:
 NeutralResourcesLanguageAttribute(System::String ^ cultureName);
public NeutralResourcesLanguageAttribute (string cultureName);
new System.Resources.NeutralResourcesLanguageAttribute : string -> System.Resources.NeutralResourcesLanguageAttribute
Public Sub New (cultureName As String)
Parameters
cultureName
String String String String

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

Exceptions

Remarks

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

See Also

NeutralResourcesLanguageAttribute(String, UltimateResourceFallbackLocation) NeutralResourcesLanguageAttribute(String, UltimateResourceFallbackLocation) NeutralResourcesLanguageAttribute(String, UltimateResourceFallbackLocation) NeutralResourcesLanguageAttribute(String, UltimateResourceFallbackLocation)

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

public:
 NeutralResourcesLanguageAttribute(System::String ^ cultureName, System::Resources::UltimateResourceFallbackLocation location);
public NeutralResourcesLanguageAttribute (string cultureName, System.Resources.UltimateResourceFallbackLocation location);
new System.Resources.NeutralResourcesLanguageAttribute : string * System.Resources.UltimateResourceFallbackLocation -> System.Resources.NeutralResourcesLanguageAttribute
Public Sub New (cultureName As String, location As UltimateResourceFallbackLocation)
Parameters
cultureName
String String String String

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

location
UltimateResourceFallbackLocation UltimateResourceFallbackLocation UltimateResourceFallbackLocation UltimateResourceFallbackLocation

One of the enumeration values that indicates the location from which to retrieve neutral fallback resources.

Exceptions

Remarks

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

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

See Also

Applies to