Del via


ClassRecord.GetSerializationRecord(String) Method

Definition

Retrieves the SerializationRecord of the provided memberName.

public:
 System::Formats::Nrbf::SerializationRecord ^ GetSerializationRecord(System::String ^ memberName);
public System.Formats.Nrbf.SerializationRecord? GetSerializationRecord (string memberName);
member this.GetSerializationRecord : string -> System.Formats.Nrbf.SerializationRecord
Public Function GetSerializationRecord (memberName As String) As SerializationRecord

Parameters

memberName
String

The name of the field.

Returns

The serialization record, which can be any of PrimitiveTypeRecord<T>, ClassRecord, ArrayRecord or null.

Exceptions

memberName does not refer to a known member. You can use HasMember(String) to check if given member exists.

The specified member is not a SerializationRecord, but just a raw primitive value.

Applies to