PEMemoryBlock.GetContent 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
GetContent() |
Reads the contents of the entire block into an array. |
GetContent(Int32, Int32) |
Reads the contents of a part of the block into an array. |
GetContent()
- Source:
- PEMemoryBlock.cs
- Source:
- PEMemoryBlock.cs
- Source:
- PEMemoryBlock.cs
Reads the contents of the entire block into an array.
public:
System::Collections::Immutable::ImmutableArray<System::Byte> GetContent();
public System.Collections.Immutable.ImmutableArray<byte> GetContent ();
member this.GetContent : unit -> System.Collections.Immutable.ImmutableArray<byte>
Public Function GetContent () As ImmutableArray(Of Byte)
Returns
An immutable byte array.
Applies to
GetContent(Int32, Int32)
- Source:
- PEMemoryBlock.cs
- Source:
- PEMemoryBlock.cs
- Source:
- PEMemoryBlock.cs
Reads the contents of a part of the block into an array.
public:
System::Collections::Immutable::ImmutableArray<System::Byte> GetContent(int start, int length);
public System.Collections.Immutable.ImmutableArray<byte> GetContent (int start, int length);
member this.GetContent : int * int -> System.Collections.Immutable.ImmutableArray<byte>
Public Function GetContent (start As Integer, length As Integer) As ImmutableArray(Of Byte)
Parameters
- start
- Int32
The starting position in the block.
- length
- Int32
The number of bytes to read.
Returns
An immutable array of bytes.
Exceptions
The specified range is not contained within the block.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za