Assembly.GetSatelliteAssembly Assembly.GetSatelliteAssembly Assembly.GetSatelliteAssembly Assembly.GetSatelliteAssembly Method

Definition

Gets the satellite assembly.

Overloads

GetSatelliteAssembly(CultureInfo, Version) GetSatelliteAssembly(CultureInfo, Version) GetSatelliteAssembly(CultureInfo, Version)

Gets the specified version of the satellite assembly for the specified culture.

GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo)

Gets the satellite assembly for the specified culture.

GetSatelliteAssembly(CultureInfo, Version) GetSatelliteAssembly(CultureInfo, Version) GetSatelliteAssembly(CultureInfo, Version)

Gets the specified version of the satellite assembly for the specified culture.

public:
 virtual System::Reflection::Assembly ^ GetSatelliteAssembly(System::Globalization::CultureInfo ^ culture, Version ^ version);
public System.Reflection.Assembly GetSatelliteAssembly (System.Globalization.CultureInfo culture, Version version);
abstract member GetSatelliteAssembly : System.Globalization.CultureInfo * Version -> System.Reflection.Assembly
override this.GetSatelliteAssembly : System.Globalization.CultureInfo * Version -> System.Reflection.Assembly

Parameters

culture
CultureInfo CultureInfo CultureInfo CultureInfo

The specified culture.

version
Version Version Version Version

The version of the satellite assembly.

Returns

The specified satellite assembly.

Implements

Exceptions

The satellite assembly with a matching file name was found, but the CultureInfo or the version did not match the one specified.

Remarks

Satellite assemblies contain localized resources, as distinct from main application assemblies, which contain non-localizable executable code and resources for a single culture that serve as the default or neutral culture.

Call the GetSatelliteAssembly(CultureInfo) overload to use your current assembly version.

If version is null, the current assembly version is used if both the resource and main assemblies are signed.

GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo)

Gets the satellite assembly for the specified culture.

public:
 virtual System::Reflection::Assembly ^ GetSatelliteAssembly(System::Globalization::CultureInfo ^ culture);
public System.Reflection.Assembly GetSatelliteAssembly (System.Globalization.CultureInfo culture);
abstract member GetSatelliteAssembly : System.Globalization.CultureInfo -> System.Reflection.Assembly
override this.GetSatelliteAssembly : System.Globalization.CultureInfo -> System.Reflection.Assembly
Public Function GetSatelliteAssembly (culture As CultureInfo) As Assembly

Parameters

culture
CultureInfo CultureInfo CultureInfo CultureInfo

The specified culture.

Returns

The specified satellite assembly.

Implements

Exceptions

The satellite assembly with a matching file name was found, but the CultureInfo did not match the one specified.

Remarks

Satellite assemblies contain localized resources, as distinct from main application assemblies, which contain non-localizable executable code and resources for a single culture that serve as the default or neutral culture.

Call this method to use your current assembly version.

Applies to