PersistedAssemblyBuilder.GenerateMetadata Method
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.
Overloads
GenerateMetadata(BlobBuilder, BlobBuilder) |
Generates the metadata for the PersistedAssemblyBuilder. |
GenerateMetadata(BlobBuilder, BlobBuilder, MetadataBuilder) |
Generates the metadata for the PersistedAssemblyBuilder. |
GenerateMetadata(BlobBuilder, BlobBuilder)
Important
This API is not CLS-compliant.
Generates the metadata for the PersistedAssemblyBuilder.
public:
System::Reflection::Metadata::Ecma335::MetadataBuilder ^ GenerateMetadata([Runtime::InteropServices::Out] System::Reflection::Metadata::BlobBuilder ^ % ilStream, [Runtime::InteropServices::Out] System::Reflection::Metadata::BlobBuilder ^ % mappedFieldData);
[System.CLSCompliant(false)]
public System.Reflection.Metadata.Ecma335.MetadataBuilder GenerateMetadata (out System.Reflection.Metadata.BlobBuilder ilStream, out System.Reflection.Metadata.BlobBuilder mappedFieldData);
[<System.CLSCompliant(false)>]
member this.GenerateMetadata : BlobBuilder * BlobBuilder -> System.Reflection.Metadata.Ecma335.MetadataBuilder
Public Function GenerateMetadata (ByRef ilStream As BlobBuilder, ByRef mappedFieldData As BlobBuilder) As MetadataBuilder
Parameters
- ilStream
- BlobBuilder
When this method returns, contains the BlobBuilder bytes that includes all method's IL (body) emitted.
- mappedFieldData
- BlobBuilder
When this method returns, contains the BlobBuilder bytes that includes all field RVA data defined in the assembly.
Returns
A MetadataBuilder that includes all members defined in the Assembly.
- Attributes
Exceptions
A module is not defined for the assembly.
The metadata was previously populated for the assembly.
Applies to
GenerateMetadata(BlobBuilder, BlobBuilder, MetadataBuilder)
Important
This API is not CLS-compliant.
Generates the metadata for the PersistedAssemblyBuilder.
public:
System::Reflection::Metadata::Ecma335::MetadataBuilder ^ GenerateMetadata([Runtime::InteropServices::Out] System::Reflection::Metadata::BlobBuilder ^ % ilStream, [Runtime::InteropServices::Out] System::Reflection::Metadata::BlobBuilder ^ % mappedFieldData, [Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::MetadataBuilder ^ % pdbBuilder);
[System.CLSCompliant(false)]
public System.Reflection.Metadata.Ecma335.MetadataBuilder GenerateMetadata (out System.Reflection.Metadata.BlobBuilder ilStream, out System.Reflection.Metadata.BlobBuilder mappedFieldData, out System.Reflection.Metadata.Ecma335.MetadataBuilder pdbBuilder);
[<System.CLSCompliant(false)>]
member this.GenerateMetadata : BlobBuilder * BlobBuilder * MetadataBuilder -> System.Reflection.Metadata.Ecma335.MetadataBuilder
Public Function GenerateMetadata (ByRef ilStream As BlobBuilder, ByRef mappedFieldData As BlobBuilder, ByRef pdbBuilder As MetadataBuilder) As MetadataBuilder
Parameters
- ilStream
- BlobBuilder
When this method returns, contains the BlobBuilder bytes that includes all method's IL (body) emitted.
- mappedFieldData
- BlobBuilder
When this method returns, contains the BlobBuilder bytes that includes all field RVA data defined in the assembly.
- pdbBuilder
- MetadataBuilder
When this method returns, contains the MetadataBuilder that includes PDB metadata.
Returns
A MetadataBuilder that includes all members defined in the Assembly.
- Attributes
Exceptions
A module not defined for the assembly.
The metadata already populated for the assembly previously.