AssemblyLoadContext.GetAssemblyName(String) Metoda

Definice

AssemblyName Získá cestu sestavení.

public:
 static System::Reflection::AssemblyName ^ GetAssemblyName(System::String ^ assemblyPath);
public static System.Reflection.AssemblyName GetAssemblyName(string assemblyPath);
static member GetAssemblyName : string -> System.Reflection.AssemblyName
Public Shared Function GetAssemblyName (assemblyPath As String) As AssemblyName

Parametry

assemblyPath
String

Cesta k sestavení.

Návraty

Objekt, který obsahuje plně parsovaný název sestavení sestavení na adrese assemblyPath.

Výjimky

assemblyPath je null.

Sestavení nelze najít.

Sestavení není platné sestavení.

Platí pro