MetadataReferenceProperties.WithEmbedInteropTypes(Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne MetadataReferenceProperties avec la EmbedInteropTypes valeur définie sur la valeur spécifiée.
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
Paramètres
- embedInteropTypes
- Boolean
Retours
Exceptions
Kind est Module, car les types d’interopérabilité ne peuvent pas être incorporés à partir de modules.