Editare

Partajați prin


MetadataRootBuilder.Serialize(BlobBuilder, Int32, Int32) Method

Definition

Serializes metadata root content into the given BlobBuilder.

public:
 void Serialize(System::Reflection::Metadata::BlobBuilder ^ builder, int methodBodyStreamRva, int mappedFieldDataStreamRva);
public void Serialize (System.Reflection.Metadata.BlobBuilder builder, int methodBodyStreamRva, int mappedFieldDataStreamRva);
member this.Serialize : System.Reflection.Metadata.BlobBuilder * int * int -> unit
Public Sub Serialize (builder As BlobBuilder, methodBodyStreamRva As Integer, mappedFieldDataStreamRva As Integer)

Parameters

builder
BlobBuilder

Builder to write to.

methodBodyStreamRva
Int32

The relative virtual address of the start of the method body stream. Used to calculate the final value of RVA fields of MethodDef table.

mappedFieldDataStreamRva
Int32

The relative virtual address of the start of the field init data stream. Used to calculate the final value of RVA fields of FieldRVA table.

Exceptions

builder is null.

methodBodyStreamRva or mappedFieldDataStreamRva is negative.

A metadata table is not ordered as required by the specification and SuppressValidation is false.

Applies to