Bagikan melalui


MetadataReferenceProperties.WithEmbedInteropTypes(Boolean) Metode

Definisi

Mengembalikan MetadataReferenceProperties dengan EmbedInteropTypes diatur ke nilai yang ditentukan.

public:
 Microsoft::CodeAnalysis::MetadataReferenceProperties WithEmbedInteropTypes(bool embedInteropTypes);
public Microsoft.CodeAnalysis.MetadataReferenceProperties WithEmbedInteropTypes (bool embedInteropTypes);
member this.WithEmbedInteropTypes : bool -> Microsoft.CodeAnalysis.MetadataReferenceProperties
Public Function WithEmbedInteropTypes (embedInteropTypes As Boolean) As MetadataReferenceProperties

Parameter

embedInteropTypes
Boolean

Mengembalikan

Pengecualian

Kind adalah Module, karena jenis interop tidak dapat disematkan dari modul.

Berlaku untuk