Synced
SerializationWriter.Write
Section titled “SerializationWriter.Write”
- Writes a value using its declared metadata type without constructing a generic method at runtime.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Serialization
Scope: Runtime
Declaration
Section titled “Declaration”public void InnoEngine.Serialization.SerializationWriter.Write(string name, object? value, System.Type declaredType)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”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.