AssemblyIdentityComparer.Compare(AssemblyIdentity, AssemblyIdentity) 方法

定义

比较引用程序集标识与定义标识,并返回其关系。

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

定义标识。

返回

适用于