共用方式為


AssemblyName.VersionCompatibility 屬性

定義

警告

AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.

取得或設定與組件和其他組件相容性相關的資訊。

public:
 property System::Configuration::Assemblies::AssemblyVersionCompatibility VersionCompatibility { System::Configuration::Assemblies::AssemblyVersionCompatibility get(); void set(System::Configuration::Assemblies::AssemblyVersionCompatibility value); };
public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get; set; }
[System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get; set; }
member this.VersionCompatibility : System.Configuration.Assemblies.AssemblyVersionCompatibility with get, set
[<System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.VersionCompatibility : System.Configuration.Assemblies.AssemblyVersionCompatibility with get, set
Public Property VersionCompatibility As AssemblyVersionCompatibility

屬性值

值,表示有關組件和其他組件相容性的資訊。

屬性

備註

VersionCompatibility 例如,資訊指出元件無法與其他版本並存執行,因為裝置驅動程序發生衝突。

目前,一 VersionCompatibility 律會傳 AssemblyVersionCompatibility.SameMachine回 ,而且不會由載入器使用。 此屬性保留給未來的功能。

適用於