<PackageReference Include="System.Drawing.Common" Version="9.0.10" />

SerializationRecordExtensions

public static bool TryGetFrameworkObject(this SerializationRecord record, out object value)

Try to get a supported .NET type object (not WinForms).

public static bool TryGetNotSupportedException(this SerializationRecord record, out object exception)

Tries to get this object as a binary formatted NotSupportedException.

public static bool TryGetPointF(this SerializationRecord record, out object value)

Tries to get this object as a PointF.

public static bool TryGetPrimitiveArray(this SerializationRecord record, out object value)

Tries to get this object as an Array of primitive types.

public static bool TryGetPrimitiveArrayList(this SerializationRecord record, out object value)

Tries to get this object as a ArrayList of PrimitiveType values.

public static bool TryGetPrimitiveHashtable(this SerializationRecord record, out Hashtable hashtable)

Tries to get this object as a binary formatted Hashtable of PrimitiveType keys and values.

public static bool TryGetPrimitiveHashtable(this SerializationRecord record, out object hashtable)

Tries to get this object as a binary formatted Hashtable of PrimitiveType keys and values.

public static bool TryGetPrimitiveList(this SerializationRecord record, out object list)

Tries to get this object as a List<T> of PrimitiveType.

public static bool TryGetPrimitiveType(this SerializationRecord record, out object value)

Tries to get this object as a primitive type or string.

public static bool TryGetRectangleF(this SerializationRecord record, out object value)

Tries to get this object as a RectangleF.