AssemblyLoadContext.GetAssemblyName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an AssemblyName for an assembly path.
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
Parameters
- assemblyPath
- String
The path to the assembly.
Returns
An object that contains the fully parsed assembly name for the assembly at assemblyPath
.
Exceptions
assemblyPath
is null
.
The assembly cannot be found.
The assembly is not a valid assembly.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.