ResourceManager.GetSatelliteContractVersion(Assembly) Metoda

Definicja

Zwraca wersję określoną przez SatelliteContractVersionAttribute atrybut w danym zestawie.

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

Zestaw do sprawdzenia atrybutu SatelliteContractVersionAttribute .

Zwraca

Wersja kontraktu satelitarnego danego zestawu lub null jeśli nie znaleziono żadnej wersji.

Wyjątki

Element Version znaleziony w zestawie a jest nieprawidłowy.

Uwagi

Aby uzyskać więcej informacji na temat przechowywania wersji zestawu satelitarnego, zobacz SatelliteContractVersionAttribute temat referencyjny.

Dotyczy

Zobacz też