MetadataReader.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 the AssemblyName for a given file.
public:
static System::Reflection::AssemblyName ^ GetAssemblyName(System::String ^ assemblyFile);
public static System.Reflection.AssemblyName GetAssemblyName (string assemblyFile);
static member GetAssemblyName : string -> System.Reflection.AssemblyName
Public Shared Function GetAssemblyName (assemblyFile As String) As AssemblyName
Parameters
- assemblyFile
- String
The path to the assembly for which AssemblyName is to be returned.
Returns
An AssemblyName that represents the given assemblyFile
.
Exceptions
assemblyFile
is null
.
assemblyFile
is invalid.
assemblyFile
is not found.
assemblyFile
is not a valid assembly.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.