ResourceManager::GetSatelliteContractVersion Method (Assembly^)

 

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.

Exception Condition
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.

ReflectionPermission

when invoked late-bound through mechanisms such as Type::InvokeMember. Associated enumeration: ReflectionPermissionFlag::MemberAccess.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: