共用方式為


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

定義識別。

傳回

適用於