Export (0) Print
Expand All

ResourceManager.GetNeutralResourcesLanguage Method

Returns culture-specific information for the main assembly's default resources by retrieving the value of the NeutralResourcesLanguageAttribute attribute on a specified assembly.

Namespace:  System.Resources
Assembly:  mscorlib (in mscorlib.dll)

protected static CultureInfo GetNeutralResourcesLanguage(
	Assembly a
)

Parameters

a
Type: System.Reflection.Assembly

The assembly for which to return culture-specific information.

Return Value

Type: System.Globalization.CultureInfo
The culture from the NeutralResourcesLanguageAttribute attribute, if found; otherwise, the invariant culture.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Show:
© 2015 Microsoft