AssemblyMetadata.CreateFromFile(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.
Finds all modules of an assembly on a specified path and builds an instance of AssemblyMetadata that represents them.
public:
static Microsoft::CodeAnalysis::AssemblyMetadata ^ CreateFromFile(System::String ^ path);
public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromFile (string path);
static member CreateFromFile : string -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromFile (path As String) As AssemblyMetadata
Parameters
- path
- String
The full path to the assembly on disk.
Returns
Exceptions
path
is null.
path
is invalid.
Error reading file path
. See InnerException for details.
Reading from a file path is not supported by the platform.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.