Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Captures one persistent property as independently restorable neutral bytes without reading unrelated members.

API: scripting
Project: Inno.Core.Serialization
Scope: Editor

public byte[] InnoEngine.Serialization.SerializationRegistry.CapturePropertyData(InnoEngine.Serialization.ISerializable value, string propertyName, InnoEngine.Serialization.SerializationContext? context = null)

Parameter value: The serializable object containing the requested property.

Parameter propertyName: The exact serialized member key to capture.

Parameter context: Optional immutable converter context.

Neutral bytes containing the property name and encoded value.

Exception T:System.ArgumentNullException: Thrown when value is null.

Exception T:System.ArgumentException: Thrown when propertyName is empty or does not identify a persistent property.

Exception T:System.InvalidOperationException: Thrown when the manager is not initialized.