ResourceManager.GetSatelliteContractVersion(Assembly) Metoda

Definice

Vrátí verzi určenou atributem SatelliteContractVersionAttribute v daném sestavení.

protected:
 static Version ^ GetSatelliteContractVersion(System::Reflection::Assembly ^ a);
protected static Version? GetSatelliteContractVersion(System.Reflection.Assembly a);
protected static Version GetSatelliteContractVersion(System.Reflection.Assembly a);
static member GetSatelliteContractVersion : System.Reflection.Assembly -> Version
Protected Shared Function GetSatelliteContractVersion (a As Assembly) As Version

Parametry

a
Assembly

Sestavení ke kontrole atributu SatelliteContractVersionAttribute .

Návraty

Verze satelitního kontraktu daného sestavení nebo null pokud nebyla nalezena žádná verze.

Výjimky

Nalezená Version v sestavení a je neplatná.

Poznámky

Další informace o správě verzí satelitního sestavení naleznete v referenčním SatelliteContractVersionAttribute tématu.

Platí pro

Viz také