PEMemoryBlock.GetReader 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
GetReader() |
Creates a BlobReader for a blob spanning the entire block. |
GetReader(Int32, Int32) |
Creates a BlobReader for a blob spanning a part of the block. |
GetReader()
- Source:
- PEMemoryBlock.cs
- Source:
- PEMemoryBlock.cs
- Source:
- PEMemoryBlock.cs
Creates a BlobReader for a blob spanning the entire block.
public:
System::Reflection::Metadata::BlobReader GetReader();
public System.Reflection.Metadata.BlobReader GetReader ();
member this.GetReader : unit -> System.Reflection.Metadata.BlobReader
Public Function GetReader () As BlobReader
Returns
A reader for a blob spanning the entire block.
Applies to
GetReader(Int32, Int32)
- Source:
- PEMemoryBlock.cs
- Source:
- PEMemoryBlock.cs
- Source:
- PEMemoryBlock.cs
Creates a BlobReader for a blob spanning a part of the block.
public:
System::Reflection::Metadata::BlobReader GetReader(int start, int length);
public System.Reflection.Metadata.BlobReader GetReader (int start, int length);
member this.GetReader : int * int -> System.Reflection.Metadata.BlobReader
Public Function GetReader (start As Integer, length As Integer) As BlobReader
Parameters
- start
- Int32
The starting position in the block.
- length
- Int32
The number of bytes in the portion of the block.
Returns
A reader for a blob spanning a portion of the block.
Exceptions
The specified range is not contained within the block.