AssemblyMetadata.CreateFromStream 方法

定义

重载

CreateFromStream(Stream, Boolean)

创建单模块程序集。

CreateFromStream(Stream, PEStreamOptions)

创建单模块程序集。

CreateFromStream(Stream, Boolean)

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

创建单模块程序集。

public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromStream (System.IO.Stream peStream, bool leaveOpen = false);
static member CreateFromStream : System.IO.Stream * bool -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromStream (peStream As Stream, Optional leaveOpen As Boolean = false) As AssemblyMetadata

参数

peStream
Stream

清单模块 PE 映像流。

leaveOpen
Boolean

在处理元数据时关闭流为 False。

返回

例外

PE 图像格式无效。

适用于

CreateFromStream(Stream, PEStreamOptions)

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

创建单模块程序集。

public:
 static Microsoft::CodeAnalysis::AssemblyMetadata ^ CreateFromStream(System::IO::Stream ^ peStream, System::Reflection::PortableExecutable::PEStreamOptions options);
public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromStream (System.IO.Stream peStream, System.Reflection.PortableExecutable.PEStreamOptions options);
static member CreateFromStream : System.IO.Stream * System.Reflection.PortableExecutable.PEStreamOptions -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromStream (peStream As Stream, options As PEStreamOptions) As AssemblyMetadata

参数

peStream
Stream

清单模块 PE 映像流。

options
PEStreamOptions

在处理元数据时关闭流为 False。

返回

例外

PE 图像格式无效。

适用于