MetadataReaderExtensions.GetNextHandle Method

Definition

Overloads

GetNextHandle(MetadataReader, BlobHandle)

Returns the handle to the Blob that follows the given one in the Blob heap or a nil handle if it is the last one.

GetNextHandle(MetadataReader, StringHandle)

Returns the a handle to the string that follows the given one in the string heap, or a nil handle if it is the last one.

GetNextHandle(MetadataReader, UserStringHandle)

Returns the a handle to the UserString that follows the given one in the UserString heap or a nil handle if it is the last one.

GetNextHandle(MetadataReader, BlobHandle)

Source:
MetadataReaderExtensions.cs
Source:
MetadataReaderExtensions.cs
Source:
MetadataReaderExtensions.cs
Source:
MetadataReaderExtensions.cs

Returns the handle to the Blob that follows the given one in the Blob heap or a nil handle if it is the last one.

C#
public static System.Reflection.Metadata.BlobHandle GetNextHandle(this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.BlobHandle handle);

Parameters

handle
BlobHandle

Returns

Exceptions

reader is null.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)
UWP 10.0

GetNextHandle(MetadataReader, StringHandle)

Source:
MetadataReaderExtensions.cs
Source:
MetadataReaderExtensions.cs
Source:
MetadataReaderExtensions.cs
Source:
MetadataReaderExtensions.cs

Returns the a handle to the string that follows the given one in the string heap, or a nil handle if it is the last one.

C#
public static System.Reflection.Metadata.StringHandle GetNextHandle(this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.StringHandle handle);

Parameters

handle
StringHandle

Returns

Exceptions

reader is null.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)
UWP 10.0

GetNextHandle(MetadataReader, UserStringHandle)

Source:
MetadataReaderExtensions.cs
Source:
MetadataReaderExtensions.cs
Source:
MetadataReaderExtensions.cs
Source:
MetadataReaderExtensions.cs

Returns the a handle to the UserString that follows the given one in the UserString heap or a nil handle if it is the last one.

C#
public static System.Reflection.Metadata.UserStringHandle GetNextHandle(this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.UserStringHandle handle);

Parameters

Returns

Exceptions

reader is null.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)
UWP 10.0