MetadataBuilder(Int32, Int32, Int32, Int32) 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.
Creates a builder for metadata tables and heaps.
public MetadataBuilder (int userStringHeapStartOffset = 0, int stringHeapStartOffset = 0, int blobHeapStartOffset = 0, int guidHeapStartOffset = 0);
new System.Reflection.Metadata.Ecma335.MetadataBuilder : int * int * int * int -> System.Reflection.Metadata.Ecma335.MetadataBuilder
Public Sub New (Optional userStringHeapStartOffset As Integer = 0, Optional stringHeapStartOffset As Integer = 0, Optional blobHeapStartOffset As Integer = 0, Optional guidHeapStartOffset As Integer = 0)
Parameters
- userStringHeapStartOffset
- Int32
The start offset of the User String heap. The cumulative size of User String heaps of all previous EnC generations should be 0 unless the metadata is EnC delta metadata.
- stringHeapStartOffset
- Int32
The start offset of the String heap. The cumulative size of String heaps of all previous EnC generations should be 0 unless the metadata is EnC delta metadata.
- blobHeapStartOffset
- Int32
The start offset of the Blob heap. The cumulative size of Blob heaps of all previous EnC generations should be 0 unless the metadata is EnC delta metadata.
- guidHeapStartOffset
- Int32
The start offset of the Guid heap. The cumulative size of Guid heaps of all previous EnC generations should be 0 unless the metadata is EnC delta metadata.
Exceptions
Offset is too big.
Offset is negative.
guidHeapStartOffset
is not a multiple of size of GUID.