AssemblyIdentityComparer.Compare(AssemblyIdentity, AssemblyIdentity) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
比较引用程序集标识与定义标识,并返回其关系。
public:
Microsoft::CodeAnalysis::AssemblyIdentityComparer::ComparisonResult Compare(Microsoft::CodeAnalysis::AssemblyIdentity ^ reference, Microsoft::CodeAnalysis::AssemblyIdentity ^ definition);
public Microsoft.CodeAnalysis.AssemblyIdentityComparer.ComparisonResult Compare (Microsoft.CodeAnalysis.AssemblyIdentity reference, Microsoft.CodeAnalysis.AssemblyIdentity definition);
member this.Compare : Microsoft.CodeAnalysis.AssemblyIdentity * Microsoft.CodeAnalysis.AssemblyIdentity -> Microsoft.CodeAnalysis.AssemblyIdentityComparer.ComparisonResult
Public Function Compare (reference As AssemblyIdentity, definition As AssemblyIdentity) As AssemblyIdentityComparer.ComparisonResult
参数
- reference
- AssemblyIdentity
引用标识。
- definition
- AssemblyIdentity
定义标识。