Bagikan melalui


CompilationReference.WithEmbedInteropTypes(Boolean) Metode

Definisi

Mengembalikan instans referensi dengan penyematan jenis interop yang ditentukan.

public:
 Microsoft::CodeAnalysis::CompilationReference ^ WithEmbedInteropTypes(bool value);
public Microsoft.CodeAnalysis.CompilationReference WithEmbedInteropTypes (bool value);
override this.WithEmbedInteropTypes : bool -> Microsoft.CodeAnalysis.CompilationReference
Public Function WithEmbedInteropTypes (value As Boolean) As CompilationReference

Parameter

value
Boolean

Nilai baru untuk EmbedInteropTypes.

Mengembalikan

Pengecualian

Jenis interop tidak dapat disematkan dari modul.

Berlaku untuk