ArrayRecord.GetArray(Type, Boolean) 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.
public Array GetArray (Type expectedArrayType, bool allowNulls = true);
member this.GetArray : Type * bool -> Array
Public Function GetArray (expectedArrayType As Type, Optional allowNulls As Boolean = true) As Array
Parameters
- expectedArrayType
- Type
Expected array type.
- allowNulls
- Boolean
true
to permit null
values within the array;
otherwise, false
.
Returns
An array filled with the data provided in the serialized records.
Exceptions
expectedArrayType
does not match the data from the payload.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.