Table of Contents

Method TryGetValue

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

TryGetValue(string, out AvroValue)

Gets a field value by name, if the field exists.

public bool TryGetValue(string name, out AvroValue value)

Parameters

name string

The field name.

value AvroValue

The value, when found.

Returns

bool

TryGetValue(int, out AvroValue)

Gets a field value by position, if the record has a field at that position.

public bool TryGetValue(int position, out AvroValue value)

Parameters

position int

The zero-based field position.

value AvroValue

The value, when found.

Returns

bool