共用方式為


PortableExecutableReference.WithEmbedInteropTypes(Boolean) 方法

定義

傳回具有指定 Interop 類型內嵌之參考的實例。

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

參數

value
Boolean

的新值 EmbedInteropTypes

傳回

例外狀況

Interop 類型無法從模組內嵌。

適用於