Class SerializingItemEventArgs
Used when a object has been serialized by DDS serializer. An eventhandler has the possiblity to change the serialized item.
Inheritance
Namespace: EPiServer.Data.Serialization
Assembly: EPiServer.Data.dll
Version: 12.0.3Syntax
public class SerializingItemEventArgs : EventArgs
Constructors
SerializingItemEventArgs(Object)
Initializes a new instance of the Serializing
Declaration
public SerializingItemEventArgs(object value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The object instance. |
Properties
ObjectInstance
Gets the object instance that has been serialized.
Declaration
public object ObjectInstance { get; }
Property Value
Type | Description |
---|---|
System. |
The object instance. |
Remarks
Any changes done to this instance will not be reflected to Serialized
SerializedItem
Gets or set the format of the serialized item.
Declaration
public XElement SerializedItem { get; set; }
Property Value
Type | Description |
---|---|
System. |
The serialized item. |
Remarks
Set this property if you will take control over the serilized format for the object instance. If value is not set the framework will take care of serialization.