|
SerializationGetOrDefaultT Method
|
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax Remarks SerializationInfo do not have a direct way of determining if an item with a specified name exists, so when calling
one of the Get(n) functions you will simply get a
SerializationException if the parameter does not exist; similarly
you will receive this exception if the parameter fails to properly deserialize. This extension method protects against both of
these failures and returns a default value if the named parameter does not exist or cannot be deserialized.
See Also