AssemblyName.VersionCompatibility 属性

定义

获取或设置与程序集同其他程序集的兼容性相关的信息。Gets or sets the information related to the assembly's compatibility with other assemblies.

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; }
member this.VersionCompatibility : System.Configuration.Assemblies.AssemblyVersionCompatibility with get, set
Public Property VersionCompatibility As AssemblyVersionCompatibility

属性值

一个值,表示有关程序集同其他程序集的兼容性的信息。A value that represents information about the assembly's compatibility with other assemblies.

注解

例如,VersionCompatibility 信息指示程序集无法与其他版本并行执行,因为设备驱动程序发生冲突。VersionCompatibility information indicates, for example, that the assembly cannot execute side-by-side with other versions due to conflicts over a device driver.

目前,VersionCompatibility 始终返回 AssemblyVersionCompatibility.SameMachine,并且加载程序不使用。Currently, VersionCompatibility always returns AssemblyVersionCompatibility.SameMachine, and is not used by the loader. 此属性保留供将来使用。This property is reserved for a future feature.

适用于