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
定義識別。