Share via


AssemblyMetadata 類別

定義

表示元件 CLI 中繼資料的不可變快照集。

public ref class AssemblyMetadata sealed : Microsoft::CodeAnalysis::Metadata
public sealed class AssemblyMetadata : Microsoft.CodeAnalysis.Metadata
type AssemblyMetadata = class
    inherit Metadata
Public NotInheritable Class AssemblyMetadata
Inherits Metadata
繼承
AssemblyMetadata

屬性

Id

這個中繼資料實例的識別碼。 如果兩個中繼資料實例具有相同的識別碼,則它們具有相同的內容。 如果它們有不同的識別碼,他們可能或可能沒有相同的內容。

(繼承來源 Metadata)
Kind

傳回中繼資料種類。 MetadataImageKind

方法

CommonCopy()

表示元件 CLI 中繼資料的不可變快照集。

(繼承來源 Metadata)
Copy()

建立這個 物件的複本。

(繼承來源 Metadata)
Create(IEnumerable<ModuleMetadata>)

建立多模組元件。

Create(ImmutableArray<ModuleMetadata>)

建立多模組元件。

Create(ModuleMetadata)

建立單一模組元件。

Create(ModuleMetadata[])

建立多模組元件。

CreateFromFile(String)

尋找指定路徑上元件的所有模組,並建置 代表它們的 實例 AssemblyMetadata

CreateFromImage(IEnumerable<Byte>)

建立單一模組元件。

CreateFromImage(ImmutableArray<Byte>)

建立單一模組元件。

CreateFromStream(Stream, Boolean)

建立單一模組元件。

CreateFromStream(Stream, PEStreamOptions)

建立單一模組元件。

Dispose()

處置元件中包含的所有模組。

GetModules()

組成此元件的模組。 第一個模組是資訊清單模組。

GetReference(DocumentationProvider, ImmutableArray<String>, Boolean, String, String)

建立元件中繼資料的參考。

適用於