SerializationExtensionTryDeserializeProperty Method

returns false if there are no enough information at the moment and it should be repeated after after all objects will be restored. Typical case is forward reference to the DN object.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public static bool TryDeserializeProperty(
	this IOMSnapshot obj,
	PropertyInfo p,
	XElement node,
	SerializationExtensionContext context,
	out OMPropertyDeserializer stateToRepeat
)

Parameters

obj  IOMSnapshot
Object
p  PropertyInfo
property
node  XElement
Root element of the obj
context  SerializationExtensionContext
stateToRepeat  OMPropertyDeserializer
if Deserialization has failed due to absence of information, stateToRepeat is provided.

Return Value

Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IOMSnapshot. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also