Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ClassRecord.GetSerializationRecord(String) Method

Definition

Namespace:
System.Formats.Nrbf
Assembly:
System.Formats.Nrbf.dll
Package:
System.Formats.Nrbf v11.0.0-preview.5.26302.115
Source:
ClassRecord.cs
Source:
ClassRecord.cs
Source:
ClassRecord.cs
Source:
ClassRecord.cs
Source:
ClassRecord.cs

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.

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


Feedback

Was this page helpful?