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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.