Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Serialization Namespace / EntitySurrogate Class / BeforeSerialize Method
The serialization context

In This Topic
    BeforeSerialize Method (EntitySurrogate)
    In This Topic
    Called before the object serialization.
    Syntax
    'Declaration
     
    Protected Overrides Sub BeforeSerialize( _
       ByVal serializationContext As SerializationContext _
    ) 
    protected override void BeforeSerialize( 
       SerializationContext serializationContext
    )

    Parameters

    serializationContext
    The serialization context
    Exceptions
    ExceptionDescription
    Thrown when the serialization context is not a valid FileSerializer object.
    Remarks
    The override of this method must always call the base at the beginning.
    See Also