MetadataReference Class
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.
Represents metadata image reference.
public ref class MetadataReference abstract
public abstract class MetadataReference
type MetadataReference = class
Public MustInherit Class MetadataReference
- Inheritance
-
MetadataReference
- Derived
Represents a logical location of the image, not the content of the image. The content might change in time. A snapshot is taken when the compiler queries the reference for its metadata.
Display |
Path or name used in error messages to identity the reference. |
Properties |
Create |
Obsolete.
Creates a reference to a loaded assembly. |
Create |
Obsolete.
Creates a reference to a loaded assembly. |
Create |
Creates a reference to an assembly or standalone module stored in a file. Reads the content of the file into memory. |
Create |
Creates a reference to a single-module assembly or a standalone module stored in memory. |
Create |
Creates a reference to a single-module assembly or a standalone module stored in memory. |
Create |
Creates a reference to a single-module assembly or a stand-alone module from data in specified stream. Reads the content of the stream into memory and closes the stream upon return. |
With |
Returns an instance of the reference with specified aliases. |
With |
Returns an instance of the reference with specified aliases. |
With |
Returns an instance of the reference with specified interop types embedding. |
With |
Returns an instance of the reference with specified properties, or this instance if properties haven't changed. |
Produkt | Versioner |
---|---|
Roslyn | 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: