Export (0) Print
Expand All

ResourceManager.GetSatelliteContractVersion Method

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 to check for 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 the SatelliteContractVersionAttribute reference topic.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Show:
© 2015 Microsoft