AssemblyName.ReferenceMatchesDefinition(AssemblyName, AssemblyName) メソッド
定義
2 つのアセンブリ名が同じであるかどうかを示す値を返します。Returns a value indicating whether two assembly names are the same. 比較は単純なアセンブリ名に基づいています。The comparison is based on the simple assembly names.
public:
static bool ReferenceMatchesDefinition(System::Reflection::AssemblyName ^ reference, System::Reflection::AssemblyName ^ definition);
public static bool ReferenceMatchesDefinition (System.Reflection.AssemblyName reference, System.Reflection.AssemblyName definition);
static member ReferenceMatchesDefinition : System.Reflection.AssemblyName * System.Reflection.AssemblyName -> bool
Public Shared Function ReferenceMatchesDefinition (reference As AssemblyName, definition As AssemblyName) As Boolean
パラメーター
- reference
- AssemblyName
参照アセンブリ名。The reference assembly name.
- definition
- AssemblyName
参照アセンブリと比較されるアセンブリ名。The assembly name that is compared to the reference assembly.
戻り値
単純なアセンブリ名が同一である場合は true
。それ以外の場合は false
。true
if the simple assembly names are the same; otherwise, false
.
注釈
この比較は、単純なアセンブリ名にのみ依存します。The comparison depends only on the simple assembly name. バージョン、カルチャ、および公開キートークンは無視されます。It ignores version, culture, and public key token.