ResourceManager.GetSatelliteContractVersion(Assembly) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
a
is null
.
Remarks
For more information about satellite assembly versioning, see the SatelliteContractVersionAttribute reference topic.