PortableExecutableReference.WithEmbedInteropTypes(Boolean) 方法

定义

返回具有指定互操作类型嵌入的引用的实例。

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

返回

例外

无法从模块嵌入互操作类型。

适用于