AssemblyMetadata.CreateFromImage 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.
Overloads
CreateFromImage(IEnumerable<Byte>) |
Creates a single-module assembly. |
CreateFromImage(ImmutableArray<Byte>) |
Creates a single-module assembly. |
CreateFromImage(IEnumerable<Byte>)
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
Creates a single-module assembly.
public:
static Microsoft::CodeAnalysis::AssemblyMetadata ^ CreateFromImage(System::Collections::Generic::IEnumerable<System::Byte> ^ peImage);
public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromImage (System.Collections.Generic.IEnumerable<byte> peImage);
static member CreateFromImage : seq<byte> -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromImage (peImage As IEnumerable(Of Byte)) As AssemblyMetadata
Parameters
- peImage
- IEnumerable<Byte>
Manifest module image.
Returns
Exceptions
peImage
is null.
The PE image format is invalid.
Applies to
CreateFromImage(ImmutableArray<Byte>)
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
- Source:
- AssemblyMetadata.cs
Creates a single-module assembly.
public:
static Microsoft::CodeAnalysis::AssemblyMetadata ^ CreateFromImage(System::Collections::Immutable::ImmutableArray<System::Byte> peImage);
public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromImage (System.Collections.Immutable.ImmutableArray<byte> peImage);
static member CreateFromImage : System.Collections.Immutable.ImmutableArray<byte> -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromImage (peImage As ImmutableArray(Of Byte)) As AssemblyMetadata
Parameters
- peImage
- ImmutableArray<Byte>
Manifest module image.
Returns
Exceptions
peImage
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.