Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Reads a value using its declared metadata type without constructing a generic method at runtime.

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

public object? InnoEngine.Serialization.SerializationReader.Read(string name, System.Type declaredType)

Parameter name: The required non-empty member name.

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

The restored value, including null when the declaration permits it; invalid or missing data throws.

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 or the member is missing, incompatible or unsupported.