Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Serialization Namespace / Surrogate<T> Class / CopyDataFromObject Method

In This Topic
    CopyDataFromObject Method (Surrogate<T>)
    In This Topic
    Copies all data from the object to its surrogate.
    Syntax
    'Declaration
     
    Protected MustOverride Sub CopyDataFromObject( _
       ByVal obj As T _
    ) 
    protected abstract void CopyDataFromObject( 
       T obj
    )

    Parameters

    obj
    Remarks
    Use this method to fill ALL the properties of this surrogate. It is called by the empty constructor to initialize the surrogates properties.
    See Also