This documentation is archived and is not being maintained.

ResourceManager.GetSatelliteContractVersion Method

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

[Visual Basic]
Protected Shared Function GetSatelliteContractVersion( _
   ByVal a As Assembly _
) As Version
protected static Version GetSatelliteContractVersion(
 Assembly a
protected: static Version* GetSatelliteContractVersion(
 Assembly* a
protected static function GetSatelliteContractVersion(
   a : Assembly
) : Version;


The Assembly for which to look up the SatelliteContractVersionAttribute.

Return Value

The satellite contract Version of the given assembly, or a null reference (Nothing in Visual Basic) if no version was found.


Exception Type Condition
ArgumentException The Version found in the assembly a is invalid.


For more information about satellite assembly versioning, see SatelliteContractVersionAttribute.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

.NET Framework Security: 

See Also

ResourceManager Class | ResourceManager Members | System.Resources Namespace | SatelliteContractVersionAttribute