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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.