Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Writes a value using its declared metadata type without constructing a generic method at runtime.

API: engine
Project: Inno.Core.Serialization

public void Inno.Core.Serialization.SerializationWriter.Write(string name, object? value, System.Type declaredType)

Parameter name: The unique non-empty member name.

Parameter value: The value to encode, including null when permitted by the declared type.

Parameter declaredType: The exact declaration whose converter and value semantics apply.

Exception T:System.ArgumentNullException: The declared type is null.

Exception T:System.ArgumentException: The member name is empty.

Exception T:System.InvalidOperationException: The operation has ended, the name is duplicated, or the value is unsupported.