GetSatelliteContractVersion Method

ResourceManager.GetSatelliteContractVersion Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Resources
Assembly:  mscorlib (in mscorlib.dll)

protected static Version GetSatelliteContractVersion(
	Assembly a
)

Parameters

a
Type: System.Reflection.Assembly
The assembly for which to look up the SatelliteContractVersionAttribute attribute.

Return Value

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

ExceptionCondition
ArgumentException

The Version found in the assembly a is invalid.

ArgumentNullException

a is null.

For more information about satellite assembly versioning, see SatelliteContractVersionAttribute.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft