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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.