MetadataReferenceProperties 結構

定義

中繼資料參考的相關資訊。

public value class MetadataReferenceProperties : IEquatable<Microsoft::CodeAnalysis::MetadataReferenceProperties>
public struct MetadataReferenceProperties : IEquatable<Microsoft.CodeAnalysis.MetadataReferenceProperties>
type MetadataReferenceProperties = struct
Public Structure MetadataReferenceProperties
Implements IEquatable(Of MetadataReferenceProperties)
繼承
MetadataReferenceProperties
實作

建構函式

MetadataReferenceProperties(MetadataImageKind, ImmutableArray<String>, Boolean)

初始化參考屬性。

屬性

Aliases

中繼資料參考的別名。 如果參考沒有別名,則為空白。

Assembly

元件參考的預設屬性。

EmbedInteropTypes

如果參考中繼資料中定義的 Interop 類型應該內嵌到參考中繼資料的編譯中,則為 True。

GlobalAlias

表示全域宣告空間的別名。

Kind

參考 (元件或模組) 影像種類。

Module

模組參考的預設屬性。

方法

Equals(MetadataReferenceProperties)

中繼資料參考的相關資訊。

Equals(Object)

中繼資料參考的相關資訊。

GetHashCode()

中繼資料參考的相關資訊。

WithAliases(IEnumerable<String>)

MetadataReferenceProperties 回具有指定別名的 。

WithAliases(ImmutableArray<String>)

MetadataReferenceProperties 回具有指定別名的 。

WithEmbedInteropTypes(Boolean)

MetadataReferenceProperties 回 ,其 EmbedInteropTypes 設定為指定的值。

運算子

Equality(MetadataReferenceProperties, MetadataReferenceProperties)

中繼資料參考的相關資訊。

Inequality(MetadataReferenceProperties, MetadataReferenceProperties)

中繼資料參考的相關資訊。

適用於