Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SZArrayRecord<T>.GetArray(Boolean) Method
Definition
- Namespace:
- System.Formats.Nrbf
- Assembly:
- System.Formats.Nrbf.dll
- Package:
- System.Formats.Nrbf v11.0.0-preview.5.26302.115
- Source:
- SZArrayRecord.cs
- Source:
- SZArrayRecord.cs
- Source:
- SZArrayRecord.cs
- Source:
- SZArrayRecord.cs
- Source:
- SZArrayRecord.cs
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.
public abstract T?[] GetArray(bool allowNulls = true);
override this.GetArray : bool -> 'T[]
Public MustOverride Function GetArray (Optional allowNulls As Boolean = true) As T()
Parameters
- allowNulls
- Boolean
true to permit null values within the array;
otherwise, false.
Returns
An array filled with the data provided in the serialized records.
Remarks
Before calling this method, check the total length of the array by using the Length property. An attacker could have sent you a small payload that requires allocation of a very large array that could cause OutOfMemoryException and denial of service.
Applies to
Feedback
Was this page helpful?
