MetadataBuilder.ReserveGuid Method

Definition

Reserves space on the Guid heap for a GUID.

public:
 System::Reflection::Metadata::ReservedBlob<System::Reflection::Metadata::GuidHandle> ReserveGuid();
public System.Reflection.Metadata.ReservedBlob<System.Reflection.Metadata.GuidHandle> ReserveGuid ();
member this.ReserveGuid : unit -> System.Reflection.Metadata.ReservedBlob<System.Reflection.Metadata.GuidHandle>
Public Function ReserveGuid () As ReservedBlob(Of GuidHandle)

Returns

A handle to the reserved Guid and a Blob representing the GUID blob as stored on the heap.

Exceptions

The remaining space on the heap is too small to fit the string.

Applies to