EntitySurrogate.Implicit Conversion (Entity to EntitySurrogate) Operator

Converts the object to the related surrogate during the serialization process.
Public Shared Widening Operator CType( _ 
ByVal source As Entity
) As EntitySurrogate
This language is not supported or no code example is available.
public static implicit operator EntitySurrogate
Entity source 
)
This language is not supported or no code example is available.

Parameters

source
Entity

Return Value

EntitySurrogate
Exception type Condition

EyeshotException

Thrown when the Entity.ConvertToSurrogate method returns null value.

.NET Framework

Supported in: 4.8

In this article

Definition