ClassRecord.GetSerializationRecord(String) Method
Definition
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.