ResourceManager::GetNeutralResourcesLanguage Method (Assembly^)

 

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.

ReflectionPermission

when invoked late-bound through mechanisms such as Type::InvokeMember. Associated enumeration: ReflectionPermissionFlag::MemberAccess.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: