Deserialize

FoundDocumentField.Deserialize method

Deserializes an instance from a byte array.

public static FoundDocumentField Deserialize(byte[] array)
Parameter Type Description
array Byte[] A byte array to deserialize from.

Return Value

An instance deserialized from a byte array.

Exceptions

exception condition
InvalidDataException The data is damaged.
InvalidOperationException The data ends before the instance is read.

Remarks

The data must be the data of the Serialize method and come from a trusted source: it is checked for consistency, not for its origin.

See Also