ResourceManager.GetNeutralResourcesLanguage(Assembly) ResourceManager.GetNeutralResourcesLanguage(Assembly) ResourceManager.GetNeutralResourcesLanguage(Assembly) ResourceManager.GetNeutralResourcesLanguage(Assembly) Method

Definizione

Restituisce le informazioni specifiche delle impostazioni cultura per le risorse predefinite dell'assembly principale mediante il recupero del valore dell'attributo NeutralResourcesLanguageAttribute su un assembly specificato.Returns culture-specific information for the main assembly's default resources by retrieving the value of the NeutralResourcesLanguageAttribute attribute on a specified assembly.

protected:
 static System::Globalization::CultureInfo ^ GetNeutralResourcesLanguage(System::Reflection::Assembly ^ a);
protected static System.Globalization.CultureInfo GetNeutralResourcesLanguage (System.Reflection.Assembly a);
static member GetNeutralResourcesLanguage : System.Reflection.Assembly -> System.Globalization.CultureInfo
Protected Shared Function GetNeutralResourcesLanguage (a As Assembly) As CultureInfo

Parametri

a
Assembly Assembly Assembly Assembly

L'assembly per il quale restituire le informazioni specifiche delle impostazioni cultura.The assembly for which to return culture-specific information.

Restituisce

Impostazioni cultura dall'attributo NeutralResourcesLanguageAttribute, se presenti; in caso contrario, la lingua inglese.The culture from the NeutralResourcesLanguageAttribute attribute, if found; otherwise, the invariant culture.

Sicurezza

ReflectionPermission
Quando viene richiamato ad associazione tardiva tramite InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])meccanismi come.when invoked late-bound through mechanisms such as InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). Enumerazione associata: MemberAccess.Associated enumeration: MemberAccess.

Si applica a