TcHmiSerializer.SerializeObject Method
Serializes the specified members of an instance of type Object to the corresponding instance of type Value with the specified BindingFlags without the ignored elements up to the specified serialization depth.
Namespace: TcHmiSrv.DynamicSymbols
Assembly: TcHmiSrvExtNet.DynamicSymbols (in
TcHmiSrvExtNet.DynamicSymbols.dll) Version: 2.0.0.0
Syntax
C#
public static Value SerializeObject(
Object obj,
IncludeMembers members = IncludeMembers.Fields|IncludeMembers.Properties,
BindingFlags bindingAttr = BindingFlags.Default,
ICollection<string> ignoreElements = null,
bool ignoreNull = false,
uint maxDepth = 4294967295,
bool throwException = true
)
Parameters
obj |
Type: System.Object |
members (Optional) |
Type: TcHmiSrv.DynamicSymbols.IncludeMembers |
bindingAttr (Optional) |
Type: System.Reflection.BindingFlags |
ignoreElements (Optional) |
Type: System.Collections.Generic.ICollection.String. |
ignoreNull (Optional) |
Type: System.Boolean |
maxDepth (Optional) |
Type: System.UInt32 |
throwException (Optional) |
Type: System.Boolean |