Click or drag to resize

ActivatorFlags Enumeration

Flags for CreateInstance.

Namespace: Demo3D.PLC.Comms
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
[FlagsAttribute]
public enum ActivatorFlags
Members
Member nameValueDescription
Shallow1 Only create a shallow instance, leaving structs, arrays and strings fields in a structure as null.
ThrowOnError2 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.
See Also