Method AsRecord NamespaceAvroSharp.Generic AssemblyAvroSharp.dll AsRecord() Gets the record. public GenericRecord AsRecord() Returns GenericRecord Exceptions InvalidOperationException The value is not a record.