Edit

Share via


ResourceManager.GetSatelliteContractVersion(Assembly) Method

Definition

Returns the version specified by the SatelliteContractVersionAttribute attribute in the given assembly.

protected:
 static Version ^ GetSatelliteContractVersion(System::Reflection::Assembly ^ a);
protected static Version? GetSatelliteContractVersion (System.Reflection.Assembly a);
protected static Version GetSatelliteContractVersion (System.Reflection.Assembly a);
static member GetSatelliteContractVersion : System.Reflection.Assembly -> Version
Protected Shared Function GetSatelliteContractVersion (a As Assembly) As Version

Parameters

a
Assembly

The assembly to check for the SatelliteContractVersionAttribute attribute.

Returns

The satellite contract version of the given assembly, or null if no version was found.

Exceptions

The Version found in the assembly a is invalid.

Remarks

For more information about satellite assembly versioning, see the SatelliteContractVersionAttribute reference topic.

Applies to

See also