MetadataLoadContext.LoadFromAssemblyPath(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ディスク上の特定のパスからアセンブリを読み込み、そのアセンブリ名を MetadataLoadContext内のアセンブリ名にバインドします。 同じ名前の以前のアセンブリが既に MetadataLoadContextに読み込まれている場合は、前のアセンブリが返されます。
public:
System::Reflection::Assembly ^ LoadFromAssemblyPath(System::String ^ assemblyPath);
public System.Reflection.Assembly LoadFromAssemblyPath(string assemblyPath);
member this.LoadFromAssemblyPath : string -> System.Reflection.Assembly
Public Function LoadFromAssemblyPath (assemblyPath As String) As Assembly
パラメーター
返品
Assembly インスタンス。
例外
2 つのアセンブリに同じ Mvid がありません。