Export (0) Print
Expand All

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
[C#]
protected static Version GetSatelliteContractVersion(
 Assembly a
);
[C++]
protected: static Version* GetSatelliteContractVersion(
 Assembly* a
);
[JScript]
protected static function GetSatelliteContractVersion(
   a : Assembly
) : Version;

Parameters

a
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.

Exceptions

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

Remarks

For more information about satellite assembly versioning, see SatelliteContractVersionAttribute.

Requirements

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

Show:
© 2014 Microsoft