MetadataReferenceProperties Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes reference properties.
public MetadataReferenceProperties (Microsoft.CodeAnalysis.MetadataImageKind kind = Microsoft.CodeAnalysis.MetadataImageKind.Assembly, System.Collections.Immutable.ImmutableArray<string> aliases = default, bool embedInteropTypes = false);
new Microsoft.CodeAnalysis.MetadataReferenceProperties : Microsoft.CodeAnalysis.MetadataImageKind * System.Collections.Immutable.ImmutableArray<string> * bool -> Microsoft.CodeAnalysis.MetadataReferenceProperties
Public Sub New (Optional kind As MetadataImageKind = Microsoft.CodeAnalysis.MetadataImageKind.Assembly, Optional aliases As ImmutableArray(Of String) = Nothing, Optional embedInteropTypes As Boolean = false)
Parameters
- kind
- MetadataImageKind
The image kind - assembly or module.
- aliases
- ImmutableArray<String>
Assembly aliases. Can't be set for a module.
- embedInteropTypes
- Boolean
True to embed interop types from the referenced assembly to the referencing compilation. Must be false for a module.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.