Activator |
[FlagsAttribute] public enum ActivatorFlags
| Member name | Value | Description |
|---|---|---|
| Shallow | 1 | Only create a shallow instance, leaving structs, arrays and strings fields in a structure as null. |
| ThrowOnError | 2 | Some types are correct, but can't be instantiated. Such as variable sized System.Array's. With ThrowOnError set it'll throw an exception; without, it'll return null. |