MetadataReferenceProperties.WithEmbedInteropTypes(Boolean) 方法

定义

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

参数

embedInteropTypes
Boolean

返回

例外

KindModule,因为无法从模块嵌入互操作类型。

适用于