Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Serialization Namespace / EntitySurrogate Class / Implicit Type Conversion Operator / Implicit Type Conversion(EntitySurrogate,Entity) Operator

In This Topic
    Implicit Type Conversion(EntitySurrogate,Entity) Operator
    In This Topic
    Converts the object to the related surrogate during the serialization process.
    Syntax
    'Declaration
     
    Overloads Public Operator Widening CType( _
       ByVal source As Entity _
    ) As EntitySurrogate
    public EntitySurrogate operator implicit( 
       Entity source
    )

    Parameters

    source
    Exceptions
    ExceptionDescription
    Thrown when the devDept.Eyeshot.Entities.Entity.ConvertToSurrogate method returns null value.
    See Also