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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應