MetadataReferenceProperties Struct
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.
Information about a metadata reference.
public value class MetadataReferenceProperties : IEquatable<Microsoft::CodeAnalysis::MetadataReferenceProperties>
public struct MetadataReferenceProperties : IEquatable<Microsoft.CodeAnalysis.MetadataReferenceProperties>
type MetadataReferenceProperties = struct
Public Structure MetadataReferenceProperties
Implements IEquatable(Of MetadataReferenceProperties)
- Inheritance
-
MetadataReferenceProperties
- Implements
Constructors
MetadataReferenceProperties(MetadataImageKind, ImmutableArray<String>, Boolean) |
Initializes reference properties. |
Properties
Aliases |
Aliases for the metadata reference. Empty if the reference has no aliases. |
Assembly |
Default properties for an assembly reference. |
EmbedInteropTypes |
True if interop types defined in the referenced metadata should be embedded into the compilation referencing the metadata. |
GlobalAlias |
Alias that represents a global declaration space. |
Kind |
The image kind (assembly or module) the reference refers to. |
Module |
Default properties for a module reference. |
Methods
Equals(MetadataReferenceProperties) | |
Equals(Object) | |
GetHashCode() | |
WithAliases(IEnumerable<String>) |
Returns MetadataReferenceProperties with specified aliases. |
WithAliases(ImmutableArray<String>) |
Returns MetadataReferenceProperties with specified aliases. |
WithEmbedInteropTypes(Boolean) |
Returns MetadataReferenceProperties with EmbedInteropTypes set to specified value. |
Operators
Equality(MetadataReferenceProperties, MetadataReferenceProperties) | |
Inequality(MetadataReferenceProperties, MetadataReferenceProperties) |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈